/* GLOBAL / BASE */
body {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 100vh;
    font-family: 'Poppins', 'Kanit', sans-serif;
    color: #fff;
}

/* PROJECT HEADER */
.project-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ffd93d);
    color: #1e3c72;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    padding: 4px 16px;
    border-radius: 50px;
    text-transform: uppercase;
}

.project-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.title-highlight {
    color: #ffd93d;
}

.project-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #ffd93d);
    border-radius: 4px;
    margin: 0 auto;
}

.project-subtitle {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 4px;
}

.project-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

@media (max-width: 576px) {
    .project-title {
        font-size: 1.6rem;
    }
}

/* LAYOUT / CONTAINER */
.register-card, .evaluation-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 1000px;
    padding: 30px;
    margin: 30px auto;
}

@media (max-width: 576px) {
    .register-card .col-md-3,
    .register-card .col-md-6,
    .register-card .col-md-9,
    .register-card .col-md-12 {
        margin-bottom: 1rem;
    }
}

/* GLASS UI / CARD */
.glass-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.glass-box-hover:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* HEADER / TEXT */
.header-text {
    text-align: center;
    margin-bottom: 30px;
}

.header-text h2 {
    font-weight: 700;
    margin-bottom: 5px;
}

.header-text p {
    opacity: 0.7;
    font-weight: 300;
}

.text-glass-primary { color: #ffffff; }
.text-glass-secondary { color: rgba(255, 255, 255, 0.7); }
.text-accent { color: #ff6b6b; }

/* MENU CARD (หน้าแรก) */
.menu-card {
    height: 100%;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 100%;
    background: linear-gradient(135deg, #ff6b6b, #ffd93d);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.18);
}

.menu-card:hover::before {
    transform: scaleX(1);
}

.menu-card h5 {
    color: #fff;
}

.menu-card p {
    color: rgba(255, 255, 255, 0.75);
}

/* ICON */
.icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.35s ease;
}

.menu-card:hover .icon-box {
    background: linear-gradient(135deg, #ff6b6b, #ffd93d);
}

.menu-card:hover .icon-box i {
    color: #fff !important;
}

.icon-glow {
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.3));
}

/* PAYMENT SECTION */
.accent-bar {
    position: relative;
    overflow: hidden;
}

.accent-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, #FF6600 0%, #ff944d 100%);
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

.bank-card {
    background: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
    border-left: 5px solid #FF6600;
}

/* BUTTON */
.btn-copy {
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    background: rgba(255,255,255,0.1);
    transition: all 0.25s ease;
}

.btn-copy:hover {
    background: #fff;
    color: #1e3c72;
}

.btn-back {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.btn-back:hover {
    color: #fff;
}

/* FORM */
.form-label {
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    border-radius: 10px;
    padding: 12px 15px;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.18);
    border-color: #ff6b6b;
    color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 107, 0.25);
}

.form-select option {
    background-color: #1e3c72;
    color: #fff;
}

.input-group-text {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
}

.input-group-text i {
    color: #fff;
}

.form-check-input,
.form-check-label {
    cursor: pointer;
}

/* CONTACT */
.contact-text {
    color: #212529;
    font-weight: 500;
}

/* ANIMATION */
.animate-fade-up {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* statusweb */
.status-display label {
    margin-bottom: 2px;
    font-weight: 500;
}

.status-display .fw-bold {
    font-size: 1.1rem;
    color: #212529;
}

.input-group-text, .form-control {
    border-color: rgba(255,255,255,0.3) !important;
}

.bg-pending { background-color: #ffc107; }
.bg-approved { background-color: #198754; }


/* evaluationweb */
.certificate-preview {
    border-radius: 18px;
    padding: 40px;
    background: #fdfdfd;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.certificate-mockup {
    border: 4px double #caa55c;
    padding: 50px 30px;
    background: #fffaf0;
    border-radius: 12px;
}

.certificate-mockup h3 {
    letter-spacing: 2px;
    color: #8b6b2e;
}

.certificate-image {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.rating-wrapper {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 30px;
    margin-top: 10px;
}

.rating-item input {
    display: none;
}

.rating-item label {
    cursor: pointer;
    font-size: 1.8rem;
    color: #ffffff;
    transition: 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rating-number {
    font-size: 0.9rem;
    margin-top: 2px;
}

.rating-item:hover label i,
.rating-item:hover ~ .rating-item label i {
    color: #ffc107;
}

.rating-item:has(input:checked) label i,
.rating-item:has(input:checked) ~ .rating-item label i {
    color: #ffc107;
}
