﻿/* =========================================================
   AUM / HR DESIGN SYSTEM — ALUMNI PAGES
   Consistent with LoginMaster
========================================================= */

/* =========================
   COLOR VARIABLES
========================= */
:root {
    --aum-primary: #7b0a0f;          /* HR Burgundy */
    --aum-primary-dark: #5f070b;
    --aum-secondary: #9b1c1f;

    --aum-bg: #f4f6f9;
    --aum-card-bg: #ffffff;

    --aum-text-main: #1f2937;
    --aum-text-muted: #6b7280;

    --aum-border: #d1d5db;
}

/* =========================
   DARK MODE
========================= */
@media (prefers-color-scheme: dark) {
    :root {
        --aum-bg: #0f172a;
        --aum-card-bg: #111827;
        --aum-text-main: #e5e7eb;
        --aum-text-muted: #9ca3af;
        --aum-border: #1f2937;
    }
}

/* =========================
   GLOBAL
========================= */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background-color: var(--aum-bg);
    color: var(--aum-text-main);
    line-height: 1.5;
}

/* =========================
   HEADER (MATCH LOGINMASTER)
========================= */
/*
.aum-header {
    height: 130px;
    background-color: rgba(123,10,15,0.95);
    display: flex;
    align-items: center;
}
*/
.aum-header 
{
    height: 130px;
    background-color: #8B0000;
    padding: 12px 24px;
}

/*
.aum-header-inner {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 40px;
    position: relative; 
}
*/
.aum-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
}

/* LOGOUT BUTTON */
.btn-logout {
    background-color: #ffffff;
    color: #8B0000;
    border: 1px solid #ffffff;
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}

/*
.btn-logout:hover {
    background-color: #8B0000;
    color: #ffffff;
}
*/ 

.btn-logout:hover {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.logout-btn {
/*background-color: #c0392b;*/
background-color: rgba(123,10,15,0.95);
color: #fff;
border-radius: 4px;
padding: 6px 14px;
}
.logout-btn:hover {
background-color: #a93226;
}
.btn-danger {
padding: 6px 14px;
/*font-size: 14px;*/
}



.aum-logo {
    height: 90px;
    width: auto;
}

/*
.aum-logo {
    height: 55px;
}
*/

.aum-university-text {
    font-size: 13px;
    line-height: 1.2;
}

.arabic-text {
    font-family: "Tahoma", sans-serif;
    font-size: 13px;
}

/* CENTER */
.header-center {
    flex: 1;
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    color: #ffffff;
}

/* RIGHT */
.header-right {
    display: flex;
    align-items: center;
}

.aum-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
}

/* =========================
   PAGE TITLE
========================= */
.aum-page-title {
    text-align: center;
    padding: 35px 20px 10px;
    font-size: 28px;
    font-weight: 600;
    color: var(--aum-primary);
    
}

/* =========================
   MAIN LAYOUT
========================= */
.aum-main {
    min-height: calc(100vh - 200px);
    padding: 40px 20px 60px;
}

/* =========================
   FORM CONTAINER
========================= */
.registration-container {
    max-width: 900px;
    margin: 0 auto;
}

/* =========================
   CARD / BOX
========================= */
.form-tab {
    display: none;
    background-color: var(--aum-card-bg);
    border: 1px solid var(--aum-border);
    border-radius: 6px;
    padding: 35px;
    margin-bottom: 35px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.form-tab.active {
    display: block;
}

/* =========================
   SECTION TITLES
========================= */
.section-title {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    color: var(--aum-primary);
    margin-bottom: 30px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eee;
}

/* =========================
   FORM GRID
========================= */
.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.form-group {
    flex: 0 0 50%;
    padding: 0 15px;
    margin-bottom: 22px;
}

.form-group-full {
    flex: 0 0 100%;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.required::after {
    content: " *";
    color: var(--aum-primary);
}

/* =========================
   INPUTS
========================= */
.form-control {
    width: 100%;
    height: 42px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid var(--aum-border);
    padding: 8px 12px;
}

.form-control:focus {
    border-color: var(--aum-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(123,10,15,.15);
}

/* =========================
   PROGRESS STEPS
========================= */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 35px;
}

.step {
    text-align: center;
    flex: 1;
}

.step-number {
    width: 34px;
    height: 34px;
    margin: auto;
    border-radius: 50%;
    background-color: #f3e5e6;
    color: var(--aum-primary);
    font-weight: 600;
    line-height: 34px;
}

.step.active .step-number {
    background-color: var(--aum-primary);
    color: #ffffff;
}

.step.completed .step-number {
    background-color: #28a745;
    color: #ffffff;
}

/* =========================
   BUTTONS (HR STYLE)
========================= */
.btn {
    height: 42px;
    padding: 0 18px;
    border-radius: 4px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: rgba(123,10,15,0.95);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--aum-primary-dark);
}

.btn-secondary {
    background-color: #6c757d;
    color: #ffffff;
}

.btn-success {
    background-color: #28a745;
    color: #ffffff;
}

/* =========================
   FOOTER (MATCH LOGINMASTER)
========================= */
.aum-footer {
    height: 70px;
    background-color: rgba(123,10,15,0.95);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    padding: 0 15px;
    text-align: center;
}


/*=================================
pupup
=================================*/

    /*new popup*/
    /* Overlay */
.modalBackground {
    background-color: rgba(0, 0, 0, 0.6);
}

/* Modal container */
.finish-modal {
    background: #ffffff;
    width: 420px;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    font-family: 'Segoe UI', Tahoma, sans-serif;
    overflow: hidden;
}

/* Header */
.finish-modal-header {
    background: linear-gradient(135deg, #28a745, #218838);
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    cursor: move;
}

/* Body */
.finish-modal-body {
    padding: 25px;
    text-align: center;
}

.finish-message {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

/* Footer */
.finish-modal-footer {
    padding: 15px;
    text-align: center;
    background-color: #f8f9fa;
}

/*new one popup*/
.popupContainer {
        width: 450px;
        background-color: #ffffff;
        border: 2px solid #b30000;
        font-family: Arial;
    }

    .popupHeader {
        /*background-color: #b30000;
        color: white;*/
        background-color: rgba(123,10,15,0.95);
        color: #ffffff;
        padding: 10px;
        font-size: 18px;
        font-weight: bold;
        cursor: move;
    }

    .popupBody {
        padding: 20px;
        font-size: 14px;
        color: #333;
    }

    .popupFooter {
        padding: 10px;
        text-align: right;
        background-color: #f5f5f5;
    }

    .redButton {
        background-color: #b30000;
        color: white;
        border: none;
        padding: 6px 18px;
        font-weight: bold;
        cursor: pointer;
    }

    .redButton:hover {
        background-color: #8f0000;
    }
    .modalBackground {
        background-color: black;
        opacity: 0.6;
        filter: alpha(opacity=60); /* IE8 */
    }

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

.aum-header {
        height: auto;
    }
    
    .aum-header-inner {
        flex-direction: column;
        justify-content: center;
        padding: 15px 20px;
    }
    
    .aum-logo {
        height: 60px;
        margin-bottom: 8px;
    }
    
.aum-title {
        position: static;   /* IMPORTANT */
        transform: none;
        font-size: 22px;
        text-align: center;
        white-space: normal;
    }
    
    .form-group {
        flex: 0 0 100%;
    }

    .progress-steps {
        flex-direction: column;
        gap: 15px;
    }  
    
    .page-title-row {
width: 100%;
margin-bottom: 10px;
}


/* Logout row */
.logout-row {
text-align: left;
padding-left: 20px;
}


/* Title row */
.title-row {
text-align: center;
font-size: 28px;
font-weight: 600;
color: var(--aum-primary);
}  

}
