* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #f2fbff;
    background: linear-gradient(120deg, #2497e3, #1a1919);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px;
}

.signup-container {
    background-color: #ffffff;
    background: linear-gradient(135deg, #328bc6, #1a1919);
    padding: 20px;
    width: 90%;
    height: 100%;
    min-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    text-align: center;
}

.logo img {
    width: 100px;
    height: 100px;
    padding: none;
    border-radius: 50%;
}

h2 {
    text-align: center;
    margin-bottom: 80px;
}

#username {
    padding: 9px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-left: 70px;
}

#username1 {
    padding-top: px;
}

#gender {
    border-radius: 5px;
    padding: 9px;
    border: 1px solid #ccc;
    font-size: 16px;
    color: #444444;
}

#gender:focus {
    border-color: #5085a9;
    /* Same border color as inputs */
    outline: none;
    /* Remove default outline */
}

#general-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#dob {
    color: #6e6c6c;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
    font-size: 16px;
}

.general-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Two equal columns */
    gap: 20px;
}


.general-grid div {
    display: flex;
    flex-direction: column;
}


.general-grid label {
    font-size: 14px;
    color: #000000;
    margin-bottom: 5px;
}

.general-grid input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

.input-group input:focus {
    border-color: #5085a9;
    outline: none;
}

.back-btn {
    width: 125px;
    padding: 12px;
    background: linear-gradient(135deg, #2497e3, #1a1919);
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 25px;
}

.submit-btn {
    width: 100px;
    padding: 12px;
    background: linear-gradient(135deg, #328bc6, #1a1919);
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 25px;
}

.submit-btn,
.back-btn:hover {
    background: linear-gradient(135deg, #328bc6, #1a1919);
}


.final-btns {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 20px;
}


#address-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.address-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.address-grid div {
    display: flex;
    flex-direction: column;
}

.address-grid label {
    font-size: 14px;
    color: #000000;
    margin-bottom: 5px;
}

.address-grid input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

#type-of-address {
    margin-top: 20px;
    font-size: 14px;
    font-weight: bold;
    color: #444444;
    color: white;
}

#type-of-address div {
    display: flex;
    gap: 20px;
}


@media (max-width: 1240px) {
    body {
        padding: 10px;
    }

    #username {
        margin-top: 20px;
    }

    input,
    select,
    button {
        font-size: 14px;
    }

    .general-grid,
    .address-grid {
        grid-template-columns: 1fr;
        /* Single column layout for mobile */
    }

    .logo img {
        width: 80px;
        height: 80px;
    }

    h2 {
        font-size: 24px;
        margin-bottom: 40px;
    }

    #username {
        margin-left: 0;
        width: 100%;
    }
}


@media (max-width: 480px) {
    h2 {
        font-size: 18px;
    }

    .signup-container {
        padding-left: 90px;
        padding-right: 90px;
    }

    input,
    select,
    button {
        font-size: 14px;
        /* Adjust font size */
    }
}