/* General styles for authentication pages */
.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 50px;
}

.banner {
    max-width: 500px;
    text-align: left;
}

.banner h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.banner h2 {
    font-size: 1.5rem;
    font-weight: 400;
}

.auth-block {
    max-width: 400px;
    width: 100%;
}

.auth-message-block {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.auth-message-block h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.form .form-fields {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.form-fields input {
    /* width: 100%; */
    padding: 12px;
    border-radius: 5px;
} 

.btn.submit {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

/* Styles for view_profile.html */
.cards-block {
    display: flex;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
}

.info-card {
    flex: 1;
    max-width: 300px;
}

.card-settings {
    flex: 3;
}

.tab-buttons {
    display: flex;
    flex-wrap: wrap;
}

span a {
    text-decoration: underline;
}

.project-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.project-title {
    font-weight: bold;
}

.project-role {
    font-style: italic;
}

/* Responsive styles */
@media (max-width: 768px) {
    .main {
        flex-direction: column;
        padding: 10px;
        gap: 20px;
        min-height: auto;
    }

    .banner {
        display: none;
    }

    .auth-block {
        max-width: 100%;
    }

    .cards-block {
        flex-direction: column;
        align-items: center;
    }

    .info-card {
        max-width: 400px;
        width: 100%;
    }

    .card-settings {
        width: 100%;
    }

    .tab-buttons {
        justify-content: center;
    }

    .form-fields input {
        width: auto;
    }
    
    #tab-switcher-profile {
        background-color: var(--light);
        color: var(--dark);
        padding: 15px 20px;
        height: auto;
        background-position: right 20px center;
        font-weight: 500;
    }
}
