﻿main {
    background-color: #1E1E1E !important;
    overflow-y: auto !important;
    height: 100vh;
}

.detail-info-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: auto !important; 
    padding: 2rem;
    overflow-y: visible;
}

/* Login Card */
.detail-info-card {
    width: 350px;
    background: #2b2b2b;
    padding: 2rem;
    border-radius: 14px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
    color: #0672eb;
    text-align: center;
}

    /* Title */
    .detail-info-card h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

/* Input field groups */
.form-group {
    margin-bottom: 1rem;
    text-align: left;
}

/* Inputs */
.detail-info-card input[type="text"],
.detail-info-card input[type="password"],
.detail-info-card textarea {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #444;
    background: #1e1e1e;
    color: #ffecb3;
    transition: border-color 0.2s;
}

.detail-info-card input::placeholder {
    color: #aaa;
}

.detail-info-card input:focus {
    border-color: #FFD54F;
    outline: none;
}

/* Remember checkbox */
.remember-row {
    display: flex;
    align-items: center;
    margin: 0.5rem 0 1.2rem;
    font-size: 0.9rem;
    color: #FFE082;
}

    .remember-row input {
        margin-right: 0.5rem;
        accent-color: #FFD54F;
    }

.validation-message {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    text-align: left;
}

.error-msg {
    color: #ff8080;
    margin: 10px;
    font-size: 0.9rem;
}

.success-msg {
    color: #80ff80;
    margin: 10px;
    font-size: 0.9rem;
}

.edit-role {
    background-color: #664d00 !important;
    color: white !important;
    border-color: #aa8800 !important;
}

.input-row {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

    .input-row label {
        width: 140px;
        text-align: right;
        padding-right: 1rem;
        color: #FFE082;
    }

    /* input ปกติ */
    .input-row input:not([type="checkbox"]) {
        flex: 1;
        width: 100%;
    }

.checkbox-row {
    align-items: center;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .checkbox-wrapper input[type="checkbox"] {
        width: auto;
        flex: none;
        transform: scale(1.2);
        cursor: pointer;
    }

.checkbox-text {
    color: #fff;
    font-size: 0.95rem;
    cursor: pointer;
}

.feature-grid .form-check-input {
    flex: none !important;
    width: auto !important;
}