﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.success-alert {
    position: fixed;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.2);
    border: 2px solid #22C55E;
    padding: 0;
    z-index: 1000;
    max-width: 400px;
    animation: slideInRight 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateX(100px) scale(0.8);
    }
}

.success-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    position: relative;
}

.success-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #22C55E, #16A34A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    animation: checkmarkPop 0.6s ease-out 0.3s both;
}

@keyframes checkmarkPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-text {
    flex: 1;
    margin-top: 2px;
}

    .success-text h4 {
        margin: 0 0 5px 0;
        color: #065F46;
        font-size: 1.1rem;
        font-weight: 700;
    }

    .success-text p {
        margin: 0;
        color: #047857;
        font-size: 0.9rem;
        line-height: 1.4;
    }

.success-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #6B7280;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .success-close:hover {
        background: rgba(107, 114, 128, 0.1);
        color: #374151;
        transform: rotate(90deg);
    }

@media (max-width: 768px) {
    .success-alert {
        top: 20px;
        right: 20px;
        left: 20px;
        max-width: none;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #00a1ff87 100%);
    min-height: 100vh;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-header {
    background: linear-gradient(135deg, #2e42a7 0%, #3ae5ed 100%);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .form-header::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        animation: rotate 20s linear infinite;
    }

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.form-header h1 {
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.form-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.form-icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.form-body {
    padding: 40px 30px;
}

.form-group {
    margin-bottom: 32px;
    position: relative;
}

    .form-group label {
        display: block;
        font-weight: 600;
        color: #374151;
        margin-bottom: 8px;
        font-size: 0.95rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #E5E7EB;
    border-radius: 16px;
    font-size: 1rem;
    background: #FAFAFA;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

    .form-control:focus {
        outline: none;
        border-color: #4F46E5;
        background: white;
        box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
        transform: translateY(-2px);
    }

    .form-control:hover {
        border-color: #9CA3AF;
        background: white;
    }

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.datetime-input {
    position: relative;
}

    .datetime-input::after {
        content: '📅';
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        font-size: 1.2rem;
    }

.help-text {
    font-size: 0.85rem;
    color: #6B7280;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .help-text::before {
        content: 'ℹ️';
        font-size: 1rem;
    }

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

    .submit-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s;
    }

    .submit-btn:hover::before {
        left: 100%;
    }

    .submit-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 20px 40px rgba(79, 70, 229, 0.4);
    }

    .submit-btn:active {
        transform: translateY(-1px);
    }

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .form-header {
        padding: 30px 20px;
    }

        .form-header h1 {
            font-size: 1.8rem;
        }

    .form-body {
        padding: 30px 20px;
    }

    .form-group {
        margin-bottom: 24px;
    }
}

.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

    .floating-circle:nth-child(1) {
        width: 80px;
        height: 80px;
        top: 20%;
        left: 10%;
        animation-delay: 0s;
    }

    .floating-circle:nth-child(2) {
        width: 60px;
        height: 60px;
        top: 60%;
        right: 15%;
        animation-delay: 2s;
    }

    .floating-circle:nth-child(3) {
        width: 100px;
        height: 100px;
        bottom: 20%;
        left: 20%;
        animation-delay: 4s;
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/* Checkbox stili için ek CSS */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

    .checkbox-group:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.2);
    }

.custom-checkbox {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

    .custom-checkbox input[type="checkbox"] {
        opacity: 0;
        position: absolute;
        cursor: pointer;
    }

.checkbox-checkmark {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 24px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.custom-checkbox:hover .checkbox-checkmark {
    border-color: #667eea;
    background: #f8f9ff;
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.2);
}

.custom-checkbox input:checked ~ .checkbox-checkmark {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.checkbox-checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    font-weight: bold;
}

.custom-checkbox input:checked ~ .checkbox-checkmark:after {
    display: block;
}

.checkbox-label {
    
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    user-select: none;
}

.datetime-group {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    transform: translateY(-10px);
}

    .datetime-group.show {
        max-height: 200px;
        opacity: 1;
        transform: translateY(0);
    }

    .datetime-group .form-group {
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

/* Animasyon için */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.datetime-group.show .form-group {
    animation: fadeInDown 0.5s ease-out;
}
/* Onay kodu linki stili */
.verification-link {
    margin-top: 15px;
    text-align: center;
}

    .verification-link a {
        color: white;
        text-decoration: none;
        font-size: 20px;
        padding: 8px 16px;
        border-radius: 20px;
        background: rgba(102, 126, 234, 0.1);
        border: 1px solid rgba(102, 126, 234, 0.3);
        transition: all 0.3s ease;
        display: inline-block;
    }

        .verification-link a:hover {
            background: rgba(102, 126, 234, 0.2);
            border-color: rgba(102, 126, 234, 0.5);
            text-decoration: none;
            transform: translateY(-1px);
        }

/* Verification Modal */
.verification-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    animation: modalFadeIn 0.3s ease-out;
}

.verification-modal-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 10% auto;
    padding: 0;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 450px;
    position: relative;
    overflow: hidden;
    animation: modalSlideUp 0.4s ease-out;
}

.verification-modal-header {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px 30px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

    .verification-modal-header h3 {
        color: white;
        margin: 0 0 10px 0;
        font-size: 1.5em;
        font-weight: 600;
    }

    .verification-modal-header p {
        color: rgba(255, 255, 255, 0.9);
        margin: 0;
        font-size: 14px;
    }

.verification-modal-body {
    padding: 30px;
    text-align: center;
}

.verification-code-input {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.code-digit {
    width: 50px;
    height: 50px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    outline: none;
    transition: all 0.3s ease;
}

    .code-digit:focus {
        border-color: rgba(255, 255, 255, 0.8);
        background: rgba(255, 255, 255, 0.2);
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
        transform: scale(1.05);
    }

    .code-digit::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }

.verification-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.verify-btn, .cancel-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.verify-btn {
    background: white;
    color: #667eea;
}

    .verify-btn:hover:not(:disabled) {
        background: #f8f9ff;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    }

    .verify-btn:disabled {
        background: rgba(255, 255, 255, 0.3);
        color: rgba(255, 255, 255, 0.7);
        cursor: not-allowed;
    }

.cancel-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

    .cancel-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.5);
        transform: translateY(-2px);
    }

.verification-error {
    color: #ffcccb;
    font-size: 14px;
    margin-top: 15px;
    display: none;
    padding: 10px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.verification-success {
    color: #90EE90;
    font-size: 14px;
    margin-top: 15px;
    display: none;
    padding: 10px;
    background: rgba(0, 255, 0, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 0, 0.3);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile responsive */
@media (max-width: 480px) {
    .verification-modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .verification-modal-header {
        padding: 20px;
    }

    .verification-modal-body {
        padding: 20px;
    }

    .code-digit {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .verification-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .verify-btn, .cancel-btn {
        width: 100%;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.datetime-group.show .form-group {
    animation: fadeInDown 0.5s ease-out;
}