/* =========================
   AUTH PAGE LAYOUT
========================= */

.dms-auth-page {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =========================
   AUTH CARD
========================= */

.dms-form {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* TITLE */
.dms-form h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 22px;
    color: #2c3e50;
}

/* =========================
   FORM GROUP
========================= */

.dms-form-group {
    margin-bottom: 18px;
}

/* LABEL */
.dms-form-group label {
    display: block;
    font-size: 13px;
    margin-bottom: 5px;
    color: #555;
}

/* INPUTS */
.dms-form input,
.dms-form select {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    transition: 0.2s;
}

/* INPUT FOCUS */
.dms-form input:focus,
.dms-form select:focus {
    border-color: #27ae60;
    box-shadow: 0 0 0 2px rgba(39,174,96,0.1);
}

/* =========================
   BUTTON
========================= */

.dms-form button {
    width: 100%;
    padding: 12px;
    background: #27ae60;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
}

.dms-form button:hover {
    background: #219150;
}

/* =========================
   ERROR / SUCCESS
========================= */

.dms-error {
    background: #ffe6e6;
    color: #c0392b;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 13px;
}

.dms-success {
    background: #eafaf1;
    color: #27ae60;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 13px;
}

/* =========================
   LINKS (SWITCH LOGIN/REGISTER)
========================= */

.dms-form-footer {
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
}

.dms-form-footer a {
    color: #27ae60;
    text-decoration: none;
}

.dms-form-footer a:hover {
    text-decoration: underline;
}

/* Login & Register wrappers */
.dms-login-wrapper,
.dms-register-wrapper,
.dms-auth-page {
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    min-height: 60vh;
}

.dms-login-wrapper form,
.dms-register-wrapper form,
.dms-auth-page form {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.dms-login-wrapper input,
.dms-register-wrapper input,
.dms-auth-page input {
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.dms-login-wrapper button,
.dms-register-wrapper button,
.dms-auth-page button {
    width: 100%;
	margin-top: 15px;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background: #27ae60;
    color: #fff;
    cursor: pointer;
}

.dms-login-wrapper button:hover,
.dms-register-wrapper button:hover,
.dms-auth-page button:hover {
    background: #219150;
}