/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #1db248;
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

/* Header styles */
.header {
    text-align: center;
    margin-bottom: 10px;
    color: white;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: white;
    padding: 15px;
    border-radius: 20px;
    justify-content: center;
}
.logo div {
    width: 50%;
}
.logo img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}
.title {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    padding-top: 20px;
}
.title i {
    font-size: 1.5rem;
    color: #ffd700;
}
.title h1 {
    font-size: 1.5rem;
    font-weight: 700;
    /*text-shadow: 0 2px 4px rgba(0,0,0,0.3);*/
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Main content */
.main-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Form sections */
.form-section {
    padding: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.form-section h2 i {
    color: #667eea;
    font-size: 1.2rem;
}

/* Form layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 10px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input[readonly] {
    background: #f7fafc;
    color: #4a5568;
    cursor: not-allowed;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Select wrapper for custom styling */
.select-wrapper {
    position: relative;
}

.select-wrapper i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    pointer-events: none;
}

/* Error messages */
.error-message {
    color: #e53e3e;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
    min-height: 20px;
}

.form-group input.error,
.form-group select.error {
    border-color: #e53e3e;
    background: #fff5f5;
}

/* Form actions */
.form-actions {
    padding: 30px;
    background: #f8fafc;
    text-align: center;
}

.submit-btn {
    background: linear-gradient(135deg, #1db248 0%, #27e36a 60%, #0c8b3b 100%);
    color: #fff;
    border: none;
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(13, 139, 59, 0.10);
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(39, 227, 106, 0.18);
    filter: brightness(1.08);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loading {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 30px 30px 20px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header.success i {
    color: #48bb78;
    font-size: 3rem;
    margin-bottom: 15px;
}

.modal-header.error i {
    color: #e53e3e;
    font-size: 3rem;
    margin-bottom: 15px;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
}

.modal-body {
    padding: 30px;
    text-align: center;
}

.modal-body p {
    margin-bottom: 15px;
    color: #4a5568;
    line-height: 1.6;
}

.modal-footer {
    padding: 20px 30px 30px;
    text-align: center;
}

.btn-secondary {
    background: linear-gradient(135deg, #1db248 0%, #27e36a 100%);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(13, 139, 59, 0.10);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #27e36a 0%, #1db248 100%);
    filter: brightness(1.08);
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .submit-btn {
        width: 100%;
        padding: 18px 20px;
    }
    
    .modal-content {
        margin: 20% auto;
        width: 95%;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 20px;
    }
    
    #currency {
        font-size: 1rem;
        padding: 16px 14px;
    }
}

@media (max-width: 480px) {
    /* .logo {
        flex-direction: column;
        gap: 10px;
    } */
    
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .form-section h2 {
        font-size: 1.2rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
    }
}

/* Animation for form sections */
.form-section {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for form sections */
.form-section:nth-child(1) { animation-delay: 0.1s; }
.form-section:nth-child(2) { animation-delay: 0.2s; }
.form-section:nth-child(3) { animation-delay: 0.3s; }
.form-section:nth-child(4) { animation-delay: 0.4s; }
.form-section:nth-child(5) { animation-delay: 0.5s; }

/* Touch-friendly currency dropdown */
#currency {
    font-size: 1.1rem;
    padding: 14px 16px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    background: #fafafa;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    transition: border-color 0.3s;
}

#currency:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.language-switcher {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    padding: 10px 0;
}

.language-switcher button {
    padding: 6px 12px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #333;
}

.language-switcher button:hover {
    background-color: #f0f0f0;
    border-color: #bbb;
}

.language-switcher button.active {
    background-color: #e6f5ea;
    color: #28a745; /* Yaşıl rəng */
    border-color: #28a745;
    font-weight: 700; /* Bold */
}
.iti{
    width: 100%;
    margin-bottom: 10px;
}
@media (max-width: 768px) {
    #currency {
        font-size: 1rem;
        padding: 16px 14px;
    }
}

@media (max-width: 600px) {
    .logo img {
        
    }
    .title h1 {
        font-size: 1.1rem;
    }
} 