/* RESET */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

 

/* PAGE CONTAINER */
.auth-page {
    display: flex;
    min-height: 100vh;
    justify-content: center; /* centron kolonat */
    align-items: center;
    padding: 20px;
    gap: 100px; /* hapesa midis kolonave */
}

/* LEFT SIDE */
.auth-left {
    flex: 1;
    max-width: 500px;  
    background: white;
    color: #567cce;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
    border-radius: 12px; 
}

.auth-left img {
    max-width: 200px;
    margin-bottom: 25px;
    border-radius: 10px;
}

.auth-message h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.auth-message p {
    font-size: 15px;
    line-height: 1.6;
}

/* RIGHT SIDE */
.auth-right {
    flex: 1;
    max-width: 500px; /* ngushto ne desktop */
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    border-radius: 12px; 
}

/* Tabs */
.auth-tabs {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 2px solid #e5e7eb;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.auth-tabs button {
    flex: 1;
    padding: 12px;
    border: none;
    cursor: pointer;
    background: #f3f4f6;
    font-weight: bold;
    transition: 0.3s;
    font-size: 16px;
}

.auth-tabs button.active {
    background: #2563eb;
    color: white;
}

/* FORMS */
.auth-form {
    display: flex;
    flex-direction: column;
}

.auth-form h2 {
    margin-bottom: 20px;
    text-align: center;
    color: #111827;
}

.auth-form input,
.auth-form select {
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 14px;
    width: 100%;
}

.auth-form select {
    background: white;
}

.btn-main {
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-main:hover {
    background: #1e40af;
}

/* HIDE FORM */
.hidden {
    display: none;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .auth-page {
        flex-direction: column;
    }

    .auth-left, .auth-right {
        max-width: unset;  
        width: 100%;
        padding: 30px 20px;
    }

    .auth-left img {
        max-width: 150px;
    }
}

/* BACK BUTTON */
.btn-back {
    display: inline-block;
    margin-bottom: 100px;
    padding: 8px 16px;
    background: #f3f4f6;
    color: #2563eb;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-back:hover {
    background: #e5e7eb;
}


.error-message {
    color: #dc2626;
    font-size: 14px;
    font-weight:500;
    margin-bottom: 20px;
}

.error{
    color:red;
    font-size:13px;
    margin-bottom:10px;
}


.forgot-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #2563eb;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}