/* AUTH */

footer {
    margin-top: 0px;
}

.auth-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0px 10px;
    /* margin-top: 60px; */
    min-height: calc(100vh - 185px);
}

.auth-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 786px;
    width: 100%;
    padding: 32px;
    margin: auto;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    border-radius: 24px;
    gap: 32px;

}

.auth-wrapper h1 {

    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 32px;
    line-height: 40px;
    color: #FFFFFF;

}

.form-first-row,
.form-second-row {
    display: grid;
    gap: 16px;
    margin-bottom: 16px;
}

.form-first-row {
    grid-template-columns: 1fr 1fr;
}

.input-wrapper {
    position: relative;
}

input {
    width: 100%;
    background: unset;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
    color: #ffffff;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}



.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle svg {
    width: 20px;
    height: 20px;
    stroke: rgba(255, 255, 255, 0.6);
    transition: stroke 0.2s ease;
}

.password-toggle:hover svg {
    stroke: rgba(255, 255, 255, 0.9);
}

.password-input {
    padding-right: 50px;
}

.form-footer {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.sign-up-btn {
    background: #a8ff5f;
    color: #1a2922;
    border: none;
    border-radius: 24px;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sign-up-btn:hover {
    background: #b8ff7f;
    transform: translateY(-1px);
}

.sign-up-btn:active {
    transform: translateY(0);
}

.login-link {
    color: white;
    font-size: 15px;
}

.login-link a {
    color: #A5FF6E;
    text-decoration: none;
    transition: color 0.2s ease;
}

.login-link a:hover {
    color: #a8ff5f;
}



/* Profile */
.profile-container {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0px 10px;
    margin-top: 60px;
}

.profile-wrapper {
    display: flex;
    flex-direction: column;
    padding: 32px;
    gap: 32px;
    max-width: 1369px;
    width: 100%;
    margin: 0 auto;
    /* height: 1027px; */

    border-radius: 24px;
    min-height: 784px;
    margin-bottom: 80px;



    /* скло як у попередніх */
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.06) 0%,
            rgba(0, 0, 0, 0.25) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.profile-top-bar {
    display: flex;
}

.profile-top-bar a {
    display: flex;
    text-decoration: none;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 40px;
    color: #AEAEAE;
    gap: 10px;
}

.profile-top {
    display: flex;
    justify-content: space-between;
}

.profile-top h1 {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 32px;
    line-height: 40px;
    color: #FFFFFF;
}

.profile-top button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 4px 24px;
    gap: 10px;
    width: fit-content;
    height: 48px;
    background: #A5FF6E;
    border-radius: 9999px;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 40px;
    color: #141414;
    border: none;
}

.tabs {
    display: flex;
    gap: 50px;
    border-bottom: 1px solid #6B6B6B;
    margin-bottom: 30px;
}

.tab {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 40px;

    color: #FFFFFF;
    background: none;
    border: none;
    padding: 7px 0;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.tab:hover {
    color: rgba(255, 255, 255, 0.8);
}

.tab.active {
    color: #fff;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.section-title {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 40px;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.project-card {
    padding: 32px;
    gap: 24px;
    min-height: 257px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    text-decoration: none;
    ;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 224, 99, 0.3);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
}

.project-avatar {
    width: 48px;
    height: 48px;
}

.project-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50px;

}

.project-name {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 40px;
    color: #FFFFFF;
}

.project-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* gap: 15px; */
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-label {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 15px;
    color: #E1E1E1;
}

.info-value {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 15px;
    color: #FFFFFF;
}

.profit-badge {

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4px 16px;
    gap: 10px;
    width: fit-content;
    height: 31px;
    background: #A5FF6E;
    border-radius: 9999px;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 125%;
    color: #141414;
}

.about-content {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    max-width: 800px;
}

.about-content h3 {
    color: #a8e063;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 20px;
}

.about-content p {
    margin-bottom: 15px;
}

.about-content ul {
    list-style: none;
    padding-left: 0;
}

.about-content ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.about-content ul li::before {
    content: '✓';
    color: #a8e063;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.vip-title {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 125%;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.vip-description {

    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 125%;
    color: #FFFFFF;
}

.logout-btn {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 24px;
    gap: 10px;
    width: fit-content;
    height: 56px;
    border: 1px solid #FF9D9D;
    border-radius: 9999px;

    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 40px;
    color: #FF9D9D;
    background: unset;
}

@media(min-width:769px) {
    .profile-top-mobile {
        display: none;
    }
}

@media(max-width:768px) {
    .tab {
        width: 50%;
        text-align: left;
        display: flex;
    }

    .tab span {
        display: none;
    }

    .tabs {
        gap: unset;
        margin-bottom: 30px;
        justify-content: space-between;
    }

    .profile-top button {
        display: none;
    }

    .profile-wrapper {
        padding: 15px;
    }

    .profile-top-mobile {
        display: flex;
        justify-content: space-between;

    }

    .section-title span {
        display: none;
    }

    .profile-top-mobile button:first-child {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 4px 8px;
        gap: 10px;
        width: fit-content;
        height: 48px;
        background: #A5FF6E;
        border-radius: 9999px;
        font-family: 'Montserrat';
        font-style: normal;
        font-weight: 500;
        font-size: 18px;
        line-height: 40px;
        color: #141414;
        border: none;
    }

    .logout-pc {
        display: none;
    }

    .logout-btn {
        padding: 8px;
        height: 48px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
    .vip-description{
        font-size: 18px;
    }





    /* Sing in / Sign up */
    .form-first-row {
        grid-template-columns: 1fr;
    }

    .auth-wrapper h1 {
        text-align: center;
    }

    .form-footer {
        flex-direction: column;
        gap: 16px;
    }

    .sign-up-btn {
        width: 100%;
        padding: 12px 24px;
        gap: 10px;
    }
    .login-link{
        text-align: left;
        font-size: 16px;
        color: #FFFFFF;
        
    }
    .login-link a{
        color:#A5FF6E;
    }
}