﻿/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.site-logo {
  height: 48px;
  width: auto;
  vertical-align: middle;
  display: inline-block;
}

/* Centered login page (no image) */
.login-page {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    padding: 24px;
    box-sizing: border-box;
}

.login-card {
    width: 360px;
    max-width: 94%;
    background: #ffffff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
    text-align: center;
    direction: rtl;
}

    .login-card h2 {
        margin: 0 0 16px;
        color: #b91c1c;
        font-size: 22px;
        font-weight: 700;
    }

/* Inputs */
.form-control {
    width: 100%;
    padding: 10px 12px;
    margin: 8px 0;
    border: 1px solid #ececec;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
}

    .form-control:focus {
        border-color: #ff6b6b;
        box-shadow: 0 8px 20px rgba(255, 107, 107, 0.12);
        outline: none;
    }

/* Button */
.btn-submit {
    width: 100%;
    padding: 10px 12px;
    margin-top: 12px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, #ef4444, #b91c1c);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

/* Links & messages */
.auth-links {
    margin-top: 12px;
    font-size: 13px;
    color: #6b7280;
}

    .auth-links a {
        color: #b91c1c;
        text-decoration: none;
        margin: 0 6px;
    }

.server-message {
    margin-top: 10px;
    color: #0f172a;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 420px) {
    .login-card {
        padding: 18px;
    }
}