* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #000;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.light-mode {
    background-color: #f5f5f5;
    color: #333;
}

body.light-mode .left-section {
    background-color: #f5f5f5;
}

body.light-mode .right-section {
    background-color: #fff;
}

body.light-mode .form-container {
    background-color: #fff;
}

body.light-mode .form-container h1 {
    color: #333;
}

body.light-mode input,
body.light-mode select,
body.light-mode textarea {
    background-color: #fff;
    color: #333;
    border-color: #e0e0e0;
}

body.light-mode input:focus,
body.light-mode select:focus,
body.light-mode textarea:focus {
    border-color: #1d9bf0;
}

body.light-mode select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

body.light-mode select option {
    background-color: #fff;
    color: #333;
}

body.light-mode input[type="date"] {
    color-scheme: light;
}

body.light-mode .btn-primary {
    background-color: #1d9bf0;
    color: #fff;
}

body.light-mode .btn-primary:hover {
    background-color: #1a8cd8;
}

body.light-mode .hashtag-item {
    color: #333;
}

body.dark-mode {
    background-color: #000;
    color: #fff;
}

body.dark-mode .left-section {
    background-color: #000;
}

body.dark-mode .right-section {
    background-color: #000;
}

body.dark-mode .form-container {
    background-color: transparent;
}

body.dark-mode .form-container h1 {
    color: #fff;
}

body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
    background-color: #000;
    color: #fff;
    border-color: #333;
}

body.dark-mode input:focus,
body.dark-mode select:focus,
body.dark-mode textarea:focus {
    border-color: #1d9bf0;
    background-color: #000;
}

body.dark-mode select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

body.dark-mode select option {
    background-color: #000;
    color: #fff;
}

body.dark-mode input::placeholder,
body.dark-mode select::placeholder,
body.dark-mode textarea::placeholder {
    color: #71767b;
}

body.dark-mode .btn-primary {
    background-color: #fff;
    color: #000;
}

body.dark-mode .btn-primary:hover {
    background-color: #e6e6e6;
}

body.dark-mode .hashtag-item {
    color: #fff;
}

body.dark-mode .form-description {
    color: #71767b;
}

body.dark-mode .form-footer p {
    color: #71767b;
}

/* Toast Notification */
.toast-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
}

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 400px;
    width: auto;
}

.toast-container.mobile {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%);
    max-width: calc(100% - 40px);
    width: calc(100% - 40px);
    gap: 0;
}

.toast {
    background-color: #fff;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: toastSlideIn 0.3s ease-out;
    min-width: 300px;
    max-width: 400px;
}

.toast.success {
    border-left: 4px solid #42b72a;
}

.toast.error {
    border-left: 4px solid #f44336;
}

.toast.info {
    border-left: 4px solid #1877f2;
}

.toast-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    color: #42b72a;
}

.toast.error .toast-icon {
    color: #f44336;
}

.toast.info .toast-icon {
    color: #1877f2;
}

.toast-content {
    flex: 1;
}

.toast-message {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.toast-close:hover {
    background-color: #f0f2f5;
    color: #333;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastSlideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.toast.hiding {
    animation: toastSlideOut 0.3s ease-in forwards;
}

body.dark-mode .toast {
    background-color: #242526;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

body.dark-mode .toast-message {
    color: #e4e6eb;
}

body.dark-mode .toast-close {
    color: #b0b3b8;
}

body.dark-mode .toast-close:hover {
    background-color: #3a3b3c;
    color: #e4e6eb;
}

.container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    flex: 1;
}

.left-section {
    flex: 1;
    position: relative;
    background-color: #000;
    padding: 2rem;
    overflow: hidden;
}

.hashtags-container {
    position: relative;
    width: 100%;
    height: 60vh;
    max-height: 500px;
    overflow: hidden;
}

.hashtag-item {
    position: absolute;
    padding: 0.75rem 1.25rem;
    background-color: transparent;
    border: none;
    border-radius: 0;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.5s ease, transform 0.5s ease;
    cursor: pointer;
    user-select: none;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hashtag-item:hover {
    opacity: 0.8;
}

.hashtag-item.show {
    opacity: 1;
    transform: scale(1);
}

.hashtag-item.hide {
    opacity: 0;
    transform: scale(0.8);
}

.right-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: #000;
}

.form-container {
    width: 100%;
    max-width: 400px;
}

.form {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.form.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #fff;
}

.form-description {
    color: #71767b;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.input-group {
    margin-bottom: 1rem;
}

.remember-me-group {
    margin-bottom: 0.75rem;
}

.remember-me-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
    font-size: 0.9rem;
    color: #71767b;
}

.remember-me-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    padding: 0;
    cursor: pointer;
    accent-color: #1d9bf0;
    width: 18px;
    height: 18px;
}

.remember-me-label input[type="checkbox"]:checked {
    accent-color: #1d9bf0;
}

.remember-me-label span {
    color: #71767b;
    transition: color 0.2s;
}

.remember-me-label:hover span {
    color: #fff;
}

body.light-mode .remember-me-label span {
    color: #666;
}

body.light-mode .remember-me-label:hover span {
    color: #333;
}

.input-hint {
    display: block;
    font-size: 0.75rem;
    color: #999;
    margin-top: 0.25rem;
    font-style: italic;
}

body.dark-mode .input-hint {
    color: #8a8d91;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="date"],
select {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    background-color: #000;
    border: 1px solid #333;
    border-radius: 4px;
    color: #fff;
    transition: border-color 0.2s;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
select:focus {
    outline: none;
    border-color: #1d9bf0;
    background-color: #000;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
input[type="password"]::placeholder {
    color: #71767b;
}

/* Date input özel stilleri */
input[type="date"] {
    position: relative;
    color-scheme: dark;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(1);
    opacity: 0.7;
    padding: 0.25rem;
    margin-left: 0.5rem;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

input[type="date"]::-webkit-datetime-edit-text {
    color: #71767b;
    padding: 0 0.25rem;
}

input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-year-field {
    color: #fff;
}

input[type="date"]::-webkit-datetime-edit-month-field:focus,
input[type="date"]::-webkit-datetime-edit-day-field:focus,
input[type="date"]::-webkit-datetime-edit-year-field:focus {
    background-color: rgba(29, 155, 240, 0.1);
    color: #1d9bf0;
    border-radius: 2px;
}

/* Firefox için date input stilleri */
input[type="date"]::-moz-placeholder {
    color: #71767b;
}

body.light-mode input[type="date"] {
    background-color: #fff;
    color: #333;
    border-color: #e0e0e0;
    color-scheme: light;
}

body.light-mode input[type="date"]:focus {
    border-color: #1d9bf0;
    background-color: #fff;
}

body.light-mode input[type="date"]::-webkit-calendar-picker-indicator {
    filter: none;
    opacity: 0.7;
}

body.light-mode input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

body.light-mode input[type="date"]::-webkit-datetime-edit-text {
    color: #999;
}

body.light-mode input[type="date"]::-webkit-datetime-edit-month-field,
body.light-mode input[type="date"]::-webkit-datetime-edit-day-field,
body.light-mode input[type="date"]::-webkit-datetime-edit-year-field {
    color: #333;
}

body.light-mode input[type="date"]::-webkit-datetime-edit-month-field:focus,
body.light-mode input[type="date"]::-webkit-datetime-edit-day-field:focus,
body.light-mode input[type="date"]::-webkit-datetime-edit-year-field:focus {
    background-color: rgba(29, 155, 240, 0.1);
    color: #1d9bf0;
}

/* Select için özel stil */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

select option {
    background-color: #000;
    color: #fff;
    padding: 0.5rem;
}

select option:disabled {
    color: #71767b;
}

/* Telefon Input Grubu */
.phone-input-group {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.phone-country-selector {
    flex-shrink: 0;
}

.country-code-select {
    width: auto;
    min-width: 100px;
    padding: 1rem 2.5rem 1rem 1rem;
    font-size: 0.9rem;
}

.phone-number-input {
    flex: 1;
    padding: 1rem;
}

@media (max-width: 480px) {
    .phone-input-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .country-code-select {
        width: 100%;
        min-width: auto;
    }
    
    .phone-number-input {
        width: 100%;
    }
}

.btn-primary {
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
    font-weight: 700;
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 1rem;
}

.btn-primary:hover {
    background-color: #e6e6e6;
}

.btn-primary:active {
    background-color: #d9d9d9;
}

.form-footer {
    margin-top: 2rem;
    text-align: center;
}

.form-footer p {
    color: #71767b;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.link {
    color: #1d9bf0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: text-decoration 0.2s;
}

.link:hover {
    text-decoration: underline;
}

.terms-text {
    font-size: 0.7rem;
    color: #71767b;
    line-height: 1.4;
    margin: 1rem 0;
    text-align: left;
}

.terms-link {
    color: #1d9bf0;
    text-decoration: none;
    transition: text-decoration 0.2s;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background-color: #333;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-fill.weak {
    width: 33%;
    background-color: #f4212e;
}

.strength-fill.medium {
    width: 66%;
    background-color: #ffd400;
}

.strength-fill.strong {
    width: 100%;
    background-color: #00ba7c;
}

.strength-text {
    font-size: 0.75rem;
    color: #71767b;
    transition: color 0.3s ease;
}

.strength-text.weak {
    color: #f4212e;
}

.strength-text.medium {
    color: #ffd400;
}

.strength-text.strong {
    color: #00ba7c;
}

/* Footer */
.main-footer {
    position: relative;
    background-color: #000;
    padding: 1.5rem;
    text-align: center;
    z-index: 100;
    width: 100%;
    max-width: 1200px;
    margin-top: 2rem;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0 1rem;
}

.footer-link {
    color: #71767b;
    font-size: 0.75rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-text {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.footer-copyright {
    color: #71767b;
    font-size: 0.75rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-menu {
        display: none;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 0;
        align-items: flex-start;
        padding-top: 0;
    }
    
    .toast-container.mobile {
        top: 50%;
        left: 50%;
        right: auto;
        bottom: auto;
        transform: translate(-50%, -50%);
        max-width: calc(100% - 40px);
        width: calc(100% - 40px);
    }
    
    .toast {
        min-width: auto;
        max-width: 100%;
        width: 100%;
        padding: 0.875rem 1rem;
        gap: 0.625rem;
    }
    
    .toast-icon {
        font-size: 1.25rem;
    }
    
    .toast-message {
        font-size: 0.875rem;
    }
    
    .toast-close {
        font-size: 1.1rem;
        width: 20px;
        height: 20px;
    }

    .container {
        flex-direction: column;
    }

    .left-section {
        min-height: 0;
        padding: 0.5rem 1rem;
    }

    .hashtags-container {
        display: none;
    }

    .right-section {
        padding: 0 1rem 1rem 1rem;
        align-items: flex-start;
    }

    .container {
        min-height: auto;
    }

    h1 {
        font-size: 1.5rem;
        margin-top: 0;
    }

    .form-container {
        margin-top: 0;
    }

    .main-footer {
        position: relative;
        padding: 1rem;
    }

    .footer-menu {
        display: none;
    }

    .toast-container.mobile {
        top: 50%;
        left: 50%;
        right: auto;
        bottom: auto;
        transform: translate(-50%, -50%);
        max-width: calc(100% - 20px);
        width: calc(100% - 20px);
    }
    
    .toast {
        padding: 0.75rem 0.875rem;
        border-radius: 10px;
    }
    
    .toast-icon {
        font-size: 1.1rem;
    }
    
    .toast-message {
        font-size: 0.8rem;
    }
    
    .toast-close {
        font-size: 1rem;
        width: 18px;
        height: 18px;
    }

    .footer-link {
        font-size: 0.7rem;
    }

    .footer-text {
        font-size: 0.8rem;
    }

    .footer-copyright {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-bottom: 0;
    }

    .hashtag-item {
        font-size: 0.65rem;
        padding: 0.4rem 0.8rem;
    }

    h1 {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    select {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
    
    select {
        padding-right: 2.25rem;
        background-position: right 0.875rem center;
    }

    .btn-primary {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .main-footer {
        position: relative;
        padding: 0.75rem;
    }

    .footer-menu {
        display: none;
    }

    .footer-link {
        font-size: 0.65rem;
    }

    .footer-text {
        font-size: 0.75rem;
    }

    .footer-copyright {
        font-size: 0.65rem;
    }
}

