/* ---------------------------------------------------------
   VIGOR CR MANAGEMENT - GLOBAL CSS
   --------------------------------------------------------- */

/* FONT */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background: #f4f6f9;
    color: #333;
}

/* WRAPPER */
.wrap {
    max-width: 1100px;
    margin: 80px auto 40px;
    padding: 0 20px;
}

/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */
header {
    background: #fff;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 900;
}

.header-inner {
    max-width: 1200px;
    margin: auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    text-decoration: none;
    color: #333;
}

.brand-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-main img {
    height: 44px;
}

.brand-text {
    line-height: 1.1;
}

.brand-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

.brand-sub {
    font-size: 13px;
    color: #888;
}

/* MENU */
.main-nav a {
    margin-left: 18px;
    text-decoration: none;
    color: #444;
    font-weight: 500;
}

.main-nav a:hover {
    color: #ff7a00;
}

.btn-primary-nav {
    background: #ff7a00;
    padding: 8px 16px;
    border-radius: 6px;
    color: #fff !important;
}

.btn-primary-nav:hover {
    background: #e06700;
}

/* ---------------------------------------------------------
   PANEL / CONTAINER BOX
--------------------------------------------------------- */
.panel {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}

.section-sub {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}

/* ---------------------------------------------------------
   FORM STYLES
--------------------------------------------------------- */
.form-field {
    margin-bottom: 18px;
}

.form-field label {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
    color: #444;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fafafa;
    font-size: 14px;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: none;
    border-color: #ff7a00;
    background: #fff;
}

textarea {
    height: 110px;
}

/* FORM DIVIDER */
.form-divider {
    border: none;
    border-bottom: 1px dashed #ccc;
    margin: 25px 0;
}

/* ---------------------------------------------------------
   BUTTONS
--------------------------------------------------------- */
.btn {
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #ff7a00;
    color: #fff !important;
}

.btn-primary:hover {
    background: #e06700;
}

.btn-secondary {
    background: #ddd;
    color: #333;
}

.btn-secondary:hover {
    background: #ccc;
}

/* ---------------------------------------------------------
   ALERT BOXES
--------------------------------------------------------- */
.alert {
    padding: 14px 16px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.alert-success {
    background: #e1f8e8;
    border: 1px solid #8fd8a1;
    color: #217a3c;
}

.alert-danger {
    background: #fde6e6;
    border: 1px solid #e4a5a5;
    color: #b53030;
}

/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */
footer {
    text-align: center;
    padding: 18px;
    color: #666;
    font-size: 13px;
    margin-top: 50px;
}

footer a {
    color: #ff7a00;
}

/* ---------------------------------------------------------
   SMALL HELP TEXT
--------------------------------------------------------- */
.small-note {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.5;
    color: #666;
}

/* ---------------------------------------------------------
   MOBILE FRIENDLY
--------------------------------------------------------- */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 12px;
    }

    .main-nav a {
        margin-left: 0;
        margin-right: 12px;
    }
}

.status-selector select {
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid #666;
  background: #fff;
  font-size: 13px;
}
.status-selector select:focus {
  outline: none;
}

