/* Base Styling */
body {
    background-color: #f2f2f2;
    font-family: 'Arial', sans-serif;
    min-height: 100vh;
}

.card {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    padding-top: 50px;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.15);
}

/* Back Icon Styling */
.back-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 32px;
    color: #ff6600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-icon:hover {
    color: #e65c00;
}

.text-primary {
    color: #ff6600 !important;
}

.btn-primary {
    background-color: #ff6600;
    border-color: #ff6600;
    border-radius: 50px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

.btn-file-upload {
    background-color: #f8f8f8;
    border: 2px dashed #ff6600;
    padding: 10px;
    border-radius: 50px;
    display: inline-block;
    width: 100%;
    text-align: center;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-file-upload:hover {
    background-color: #ff6600;
    border-color: #e65c00;
}

.form-control {
    border-radius: 10px;
    box-shadow: none;
    border: 1px solid #ddd;
    padding: 12px;
}

.form-control:focus {
    border-color: #ff6600;
    box-shadow: 0 0 0 0.2rem rgba(255, 102, 0, 0.25);
}

.form-label {
    font-weight: bold;
}

.footer-text {
    text-align: center;
    color: #777;
}

.footer-text a {
    color: #ff6600;
    text-decoration: none;
}

.footer-text a:hover {
    text-decoration: underline;
}

.input-file-label {
    color: #ff6600;
    font-weight: bold;
}

.input-file {
    display: none;
}

.input-file:checked + .btn-file-upload {
    background-color: #ff6600;
    color: #fff;
}

/* Animation for Inputs */
.form-control:focus,
.btn-primary:hover {
    animation: scaleUp 0.3s ease forwards;
}

@keyframes scaleUp {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

/* Logo Container */
.logo-container {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .card {
        margin-top: 30px;
    }
}

/* Country Code Dropdown and Phone Number Field */
.form-row {
    display: flex;
    align-items: center;  
    gap: 10px;  
}

#country-code {
    width: 35%;  
}

#phone {
    width: 60%;  
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column; 
    }

    #country-code, #phone {
        width: 100%; 
    }
}

