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

body {
    font-family: "Amazon Ember", "Segoe UI", Roboto, Arial, sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #eaf1f7 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Contact Page Styles */
.contact-wrapper {
    display: flex;
    max-width: 1000px;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: fadeIn 0.5s ease;
}

.contact-info {
    flex: 1;
    background: linear-gradient(135deg, #232f3e 0%, #37475A 100%);
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form {
    flex: 1.2;
    background: #fff;
    padding: 40px;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.logo {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-header h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #fff;
}

.contact-header p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    background: rgba(255, 153, 0, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-icon i {
    color: #ff9900;
    font-size: 1rem;
}

.contact-text h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-text p {
    font-size: 0.9rem;
    color: #b0b7c3;
    line-height: 1.5;
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    color: #232f3e;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
    font-size: 0.95rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

label {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
    font-weight: 500;
}

.required {
    color: #e74c3c;
}

.optional {
    color: #888;
    font-size: 0.8rem;
    font-weight: normal;
}

input,
textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

input:focus,
textarea:focus {
    border-color: #ff9900;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 153, 0, 0.2);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.error-message {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 5px;
    min-height: 15px;
}

button {
    background: #ff9900;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
}

button:hover:not(:disabled) {
    background: #e68900;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 153, 0, 0.3);
}

button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-loader {
    display: flex;
    align-items: center;
    gap: 10px;
}

.loader {
    width: 18px;
    height: 18px;
    border: 2px solid #ffffff;
    border-bottom-color: transparent;
    border-radius: 50%;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Success Page Styles */
.success-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #eaf1f7 100%);
}

.success-container {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    width: 100%;
    text-align: center;
    animation: fadeInUp 0.6s ease;
}

.success-header {
    margin-bottom: 30px;
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
    animation: bounceIn 1s ease;
}

.success-header h1 {
    color: #232f3e;
    font-size: 2rem;
    margin-bottom: 10px;
}

.success-subtitle {
    color: #666;
    font-size: 1.1rem;
}

.success-details {
    margin-bottom: 30px;
}

.detail-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-left: 4px solid #ff9900;
}

.detail-card h2 {
    color: #232f3e;
    margin-bottom: 20px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #555;
}

.detail-value {
    color: #232f3e;
    font-weight: 500;
}

.success-actions {
    margin-bottom: 30px;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-secondary {
    background: #232f3e;
    color: white;
}

.btn-secondary:hover {
    background: #37475A;
    transform: translateY(-2px);
}

.support-info {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.support-info h4 {
    color: #232f3e;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.support-info p {
    color: #666;
    margin: 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-info, .contact-form {
        padding: 30px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-header h1 {
        font-size: 1.6rem;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    .success-container {
        padding: 25px;
    }
    
    .success-header h1 {
        font-size: 1.8rem;
    }
    
    .success-icon {
        font-size: 3rem;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .contact-info, .contact-form {
        padding: 20px;
    }
    
    .logo-container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .success-container {
        padding: 20px;
    }
}