﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body, html {
    height: 100%;
    min-height: 400px;
    background-image: url('../images/register.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
}


.left-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: white;
    height: auto;
}

    .left-panel h2 {
        font-size: 18px;
    }

    .left-panel img {
        max-width: 100%;
        height: auto;
        border-radius: 10px;
    }

.right-panel {
    flex: 1;
    justify-content: center;
    padding: 40px;
}

    .right-panel h2 {
        margin-bottom: 20px;
        color: #111827;
    }

.login-container {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 500px;
    border: 2px solid #4468E0;
    height: auto;
}

    .login-container h2 {
        text-align: center;
        margin-bottom: 24px;
    }

.intro-container {
    padding: 40px 30px;
    width: 600px;
    text-align: center;
    align-content: center;
}

    .intro-container h2 {
        text-align: center;
        margin-bottom: 24px;
    }

form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 16px;
    height: auto;
}

    .form-group label {
        display: block;
        font-weight: bold;
        margin-bottom: 6px;
    }

    .form-group input {
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

label {
    margin-bottom: 5px;
    color: #374151;
}

input {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
}

button {
    padding: 10px;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

    button:hover {
        background-color: #1d4ed8;
    }


.login-button {
    width: 100%;
    padding: 10px;
    background-color: #4468E0;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
}

    .login-button:hover {
        background-color: #1445E9;
        transform: scale(1.05);
    }

.modal-header {
    width: 100% !important;
    background-color: grey;
    color: white;
    text-align: center;
    height: 40px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 5px 5px;
}

.toggle-eye {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    user-select: none;
    color: #888;
}

.password-wrapper {
    position: relative;
    width: 100%;
}

.textbox-red {
    border: 2px solid red !important;
}

.textbox-green {
    border: 2px solid green !important;
}



.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    cursor: pointer;
}

    .close:hover {
        color: #000;
    }

@media screen and (max-width: 1024px) {
    .container {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .left-panel,
    .right-panel {
        width: 100%;
        max-width: 100%;
        padding: 20px;
    }

    .intro-container,
    .login-container {
        width: 100% !important;
        max-width: 100%;
        padding: 20px 10px;
    }

    .login-container {
        box-shadow: none;
        border: none;
    }

    .left-panel img {
        width: 90%;
        height: auto;
    }
}

@media screen and (max-width: 600px) {
    h1, h2, h3, label, p {
        font-size: 16px;
    }

    input,
    button,
    .login-button {
        font-size: 14px;
        padding: 10px;
    }

    .modal-content {
        padding: 1rem;
        width: 95%;
    }

    .toggle-eye {
        right: 5px;
        font-size: 16px;
    }
}
