/* Register page styling aligned with settings.css */

h1 {
    text-align: center;
    padding-top: 50px;
    border-bottom: 3px solid #ccc;
    padding-bottom: 20px;
    color: #fff;
    font-size: 5vh;
}

body {
    background-color: #000;
}

.usermgr-container {
    display: flex;
    flex-direction: column;
    gap: 2vh;
    background-color: #2e2e2e;
    border-radius: 10px;
    padding: 2vh;
}

.usermgr-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5vh;
    background-color: #d6d6d6;
    border-radius: 1vh;
    padding: 1.5vh;
}

.usermgr-item label {
    width: 28vh;
    text-align: right;
    margin-right: 1vh;
    font-size: 3vh;
    font-weight: bold;
}

.usermgr-item input {
    padding: 0.5vh;
    flex-grow: 1;
    font-size: 3vh;
    border-radius: 0.5vh;
    border: 1px solid #ccc;
}

/* Checkbox row aligned with other fields */
.user-remember .checkbox-wrapper {
    display: flex;
    align-items: center;
}

.user-remember input[type="checkbox"] {
    width: 4vh;
    height: 4vh;
    accent-color: #af6969; /* match primary button color */
}

.buttons-container {
    margin-top: 2vh;
    margin-left: 4vh;
}

.back-button {
    display: inline-block;
    padding: 2vh 4vh;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 1vh;
    font-weight: bold;
    transition: background-color 0.3s;
    font-size: 3vh;
    margin-right: 2vh;
    border: none;
}

.back-button:hover {
    background-color: #555;
    cursor: pointer;
}

.save-button {
    display: inline-block;
    padding: 2vh 4vh;
    background-color: #af6969;
    color: white;
    text-decoration: none;
    border-radius: 1vh;
    border: none;
    font-weight: bold;
    transition: background-color 0.3s;
    font-size: 3vh;
}

.save-button:hover {
    background-color: #cababa;
    cursor: pointer;
}

.message-box {
    padding: 1vh;
    border-radius: 1vh;
    margin-top: 2vh;
    margin-left: 4vh;
    font-size: 3vh;
}

.message-box-success {
    background-color: #69af69;
    color: white;
}

.message-box-fail {
    background-color: #ff6b6b;
    color: white;
}

.input-error {
    border: 2px solid #ff4d4d !important;
    background-color: #ffe6e6 !important;
}

.error-message {
    color: #ff4d4d;
    font-size: 3vh;
    margin-top: 0.5vh;
    margin-left: 20vh;
    min-height: 2vh;
}
