/* 
   DALI Enterprise Portal - Global Design System 
   Theme: Modern Glassmorphism (Premium Business)
*/

:root {
    /* Brand Colors - 達麗建設企業色 */
    --dali-primary: #1a365d;        /* 深藍灰 - 主色（專業、穩重） */
    --dali-primary-dark: #0f2537;   /* 更深藍灰 */
    --dali-primary-light: #2d4a6b;  /* 淺藍灰 */
    --dali-orange: #E69B35;         /* 達麗橙 - 強調色（品質、溫暖） */
    --dali-orange-dark: #d08a2e;    /* 深橙 */
    --dali-orange-light: #fff8f0;   /* 淺橙背景 */
    --dali-gold: #d4af37;           /* 金色 - 輔助強調色 */
    --dali-blue: #1a365d;           /* 企業藍（與主色一致） */
    --dali-red: #c53030;           /* 警示紅（更柔和） */
    --dali-green: #2d7d32;          /* 成功綠（更柔和） */

    /* UI Tone - 溫暖米白色調 */
    --bg-color: #faf9f7;            /* 溫暖米白背景 */
    --text-primary: #1a365d;        /* 深藍灰文字（與主色一致） */
    --text-secondary: #4a5568;      /* 中灰文字 */
    --border-color: rgba(26, 54, 93, 0.12); /* 主色半透明邊框 */

    /* Glass Effects */
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: 1px solid rgba(26, 54, 93, 0.15);
    --glass-shadow: 0 8px 32px rgba(26, 54, 93, 0.1);
    --blur-strength: 12px;

    /* Gradients - 企業色漸變 */
    --header-gradient: linear-gradient(135deg, #1a365d 0%, #2d4a6b 100%);
    --card-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 249, 247, 0.9) 100%);

    /* Microsoft Teams */
    --teams-color: #6264A7;

    /* Dark Theme Colors (for tech-theme.css) */
    --tech-bg-start: #0f0c29;
    --tech-bg-mid: #302b63;
    --tech-bg-end: #24243e;
    --tech-glass-bg: rgba(255, 255, 255, 0.05);
    --tech-glass-border: rgba(255, 255, 255, 0.1);
    --tech-text-primary: rgba(255, 255, 255, 0.9);
    --tech-text-secondary: rgba(255, 255, 255, 0.5);
    --tech-input-bg: rgba(255, 255, 255, 0.08);
    --tech-input-border: rgba(255, 255, 255, 0.15);
    
    /* Animation Durations */
    --anim-fast: 0.2s;
    --anim-normal: 0.3s;
    --anim-slow: 0.5s;
    
    /* Breakpoints */
    --breakpoint-mobile: 768px;
    --breakpoint-tablet: 1024px;
    --breakpoint-desktop: 1200px;
}

/* ===== Reset & Typography ===== */
* {
    box-sizing: border-box;
}

body {
    font-family: "Microsoft JhengHei", "Segoe UI", Roboto, Helvetica, sans-serif;
    background-color: var(--bg-color);
    background-image:
        radial-gradient(circle at 5% 5%, rgba(230, 155, 53, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 95% 95%, rgba(21, 101, 192, 0.03) 0%, transparent 20%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

/* ===== Glass Components ===== */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-strength));
    -webkit-backdrop-filter: blur(var(--blur-strength));
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
}

/* ===== Header ===== */
.header {
    background: var(--header-gradient);
    color: rgba(255, 255, 255, 0.95);
    padding: 0 30px;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(26, 54, 93, 0.15);
    border-bottom: 3px solid var(--dali-orange);
}

.logo-area h1 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-badge {
    background: rgba(255, 255, 255, 0.12);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.header-badge i,
.header-badge span {
    color: inherit;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 20px;
}

.btn-logout {
    background: var(--dali-orange);
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(230, 155, 53, 0.3);
}

.btn-logout:hover {
    background: var(--dali-orange-dark);
    transform: translateY(-1px);
}

/* ===== Main Containers ===== */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Layout Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* ===== Service Cards ===== */
.service-card {
    background: var(--glass-bg);
    border: 1px solid white;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: visible;
    display: block;
    cursor: pointer;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(230, 155, 53, 0.3);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--dali-orange);
    transform: scaleX(0);
    transition: transform 0.3s;
    transform-origin: center;
}

.service-card:hover::after {
    transform: scaleX(1);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #fff 0%, #f4f4f4 100%);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--dali-orange);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: 0.3s;
    flex-shrink: 0;
}

.service-card:hover .card-icon {
    background: var(--dali-orange);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    flex-shrink: 0;
}

.card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: auto;
    padding-top: 8px;
    word-wrap: break-word;
    overflow: visible;
    white-space: normal;
    min-height: auto;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

.btn-primary {
    background: var(--dali-orange);
    color: white;
    box-shadow: 0 4px 15px rgba(230, 155, 53, 0.3);
}

.btn-primary:hover {
    background: var(--dali-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 155, 53, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: #f8f9fa;
    border-color: #ccc;
}

/* ===== Loading Overlay ===== */
#pageLoading {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: var(--text-secondary);
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

#pageLoading.active {
    opacity: 1;
    pointer-events: all;
}

/* ===== Utilities ===== */
.text-orange {
    color: var(--dali-orange);
}

.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Standard Mobile Responsive */
@media (max-width: 768px) {
    .header {
        padding: 0 15px;
        height: 60px;
    }

    .header-badge,
    .user-id {
        display: none;
    }

    .user-info {
        padding-left: 10px;
        border: none;
    }

    .main-content {
        padding: 20px 15px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Login Overlay ===== */
#loginOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.login-box {
    background: rgba(255, 255, 255, 0.9);
    padding: 50px 45px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    width: 380px;
    border-top: 5px solid var(--dali-orange);
    backdrop-filter: blur(15px);
}

.login-box h2 {
    color: var(--text-primary);
    margin: 0 0 10px 0;
    font-size: 1.8rem;
}

.login-box p {
    color: var(--text-secondary);
    margin: 0 0 30px 0;
}

.login-btn {
    background: var(--header-gradient);
    color: white;
    border: none;
    padding: 16px;
    width: 100%;
    border-radius: 12px;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.blur-content {
    filter: blur(8px);
    pointer-events: none;
}

/* ===== Floating Widgets ===== */
.widget-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.widget-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    position: relative;
    background: white;
    color: var(--text-primary);
    /* Default */
}

.widget-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.widget-btn.teams {
    background: var(--teams-color);
    color: white;
    font-size: 1.5rem;
}

.widget-btn.chat {
    background: var(--dali-orange);
    color: white;
    font-size: 1.5rem;
}

.badge-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--dali-red);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid white;
}

/* ===== Chat Window ===== */
.chat-window {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 360px;
    height: 480px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1001;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.chat-header {
    background: var(--dali-orange);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: #fafafa;
}

.message {
    padding: 10px 14px;
    border-radius: 12px;
    margin-bottom: 10px;
    max-width: 85%;
    line-height: 1.5;
    font-size: 0.95rem;
}

.msg-ai {
    background: white;
    border: 1px solid #eee;
    border-radius: 0 12px 12px 12px;
}

.msg-user {
    background: var(--dali-orange);
    color: white;
    margin-left: auto;
    border-radius: 12px 0 12px 12px;
}

.chat-footer {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    background: white;
}

.chat-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.95rem;
    transition: 0.2s;
}

.chat-input:focus {
    outline: none;
    border-color: var(--dali-orange);
}

.send-btn {
    background: var(--dali-orange);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.send-btn:hover {
    transform: scale(1.05);
}

/* ===== Teams Toast ===== */
#teamsToast {
    position: fixed;
    top: 90px;
    right: 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 9000;
    cursor: pointer;
    transform: translateX(400px);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 4px solid var(--teams-color);
    backdrop-filter: blur(5px);
}

#teamsToast.show {
    transform: translateX(0);
}

.teams-icon {
    width: 45px;
    height: 45px;
    background: var(--teams-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.teams-content h4 {
    margin: 0 0 3px 0;
    color: var(--text-primary);
}

.teams-content p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ===== Form & Inputs ===== */
.form-section {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.form-section:last-child {
    border-bottom: none;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.sub-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: normal;
    margin-left: 5px;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
    transition: 0.2s;
    font-family: inherit;
    color: var(--text-primary);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--dali-orange);
    box-shadow: 0 0 0 3px rgba(230, 155, 53, 0.1);
    background: white;
}

input:disabled {
    background: rgba(0, 0, 0, 0.05) !important;
    cursor: not-allowed;
    color: #666 !important;
}

/* Custom Select Arrow */
select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23E69B35%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 12px auto;
}

/* Layout Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.col {
    flex: 1;
    min-width: 250px;
}

.btn-group {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

/* Tags & Chips */
.attendee-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    min-height: 40px;
}

.tag {
    background: #e3f2fd;
    color: var(--dali-blue);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: fadeIn 0.3s;
}

.tag i {
    cursor: pointer;
    opacity: 0.6;
    transition: 0.2s;
}

.tag i:hover {
    opacity: 1;
    color: var(--dali-red);
}

/* Hints */
.hint-box {
    margin-top: 10px;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hint-info {
    background: #e3f2fd;
    color: #0d47a1;
}

.hint-success {
    background: #e8f5e9;
    color: #1b5e20;
}

.hint-warning {
    background: #fff3e0;
    color: #e65100;
}

/* ===== Tables (Glass Style) ===== */
.table-wrapper {
    background: var(--glass-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
}

table.glass-table {
    width: 100%;
    border-collapse: collapse;
}

table.glass-table thead {
    background: rgba(0, 0, 0, 0.03);
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

table.glass-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

table.glass-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
    vertical-align: middle;
}

table.glass-table tr:hover {
    background: rgba(255, 255, 255, 0.4);
}

table.glass-table tr:last-child td {
    border-bottom: none;
}

/* Avatar & Badges */
.avatar {
    width: 40px;
    height: 40px;
    background: var(--dali-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(230, 155, 53, 0.2);
}

.dept-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background: #e3f2fd;
    color: var(--dali-blue);
}

/* ===== Tabs (for Admin) ===== */
.tab-nav {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.tab-btn {
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    font-weight: 600;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    background: rgba(0, 0, 0, 0.03);
    color: var(--dali-orange);
}

.tab-btn.active {
    background: var(--dali-orange-light);
    color: var(--dali-orange);
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-panel.active {
    display: block;
}

/* ===== Search Box ===== */
.search-section {
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.search-box {
    position: relative;
    flex: 1;
}

.search-box input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: 0.2s;
}

.search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

.search-box input:focus {
    outline: none;
    border-color: var(--dali-orange);
    box-shadow: 0 0 0 3px rgba(230, 155, 53, 0.1);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.page-btn {
    background: white;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: 0.2s;
}

.page-btn:hover:not(:disabled) {
    border-color: var(--dali-orange);
    color: var(--dali-orange);
}

.page-btn.active {
    background: var(--dali-orange);
    color: white;
    border-color: var(--dali-orange);
}

.page-btn:disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* ===== Modal System ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(3px);
    animation: fadeIn 0.3s;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    overflow: hidden;
    animation: slideUp 0.3s;
}

.modal-header {
    background: linear-gradient(135deg, #2b323a 0%, #4a545e 100%);
    color: white;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header i.fa-times {
    cursor: pointer;
    opacity: 0.8;
    transition: 0.2s;
}

.modal-header i.fa-times:hover {
    opacity: 1;
    transform: scale(1.1);
}

.modal-body {
    padding: 30px 25px;
}

.modal-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-modal {
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    flex: 1;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.2s;
}

.btn-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Outlook Popup Window - 使用彈出視窗，無需 CSS 樣式 */