* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 默�?�??（淺?��???+ ?�色?��?+ 粉色強調�?*/
    --bg-color: #f0f0f0;
    --card-bg: #ffffff;
    --card-border: rgba(0, 0, 0, 0.08);
    --text-primary: #1a1a1a;
    --text-secondary: rgba(0, 0, 0, 0.6);
    --text-hint: rgba(0, 0, 0, 0.4);
    --input-bg: #f8f8f8;
    --input-border: rgba(0, 0, 0, 0.1);
    --input-focus-bg: #ffffff;
    --help-bg: #f8f8f8;
    --success-bg: rgba(255, 125, 161, 0.1);
    --success-border: rgba(255, 125, 161, 0.3);
    --error-bg: rgba(255, 59, 48, 0.1);
    --error-border: rgba(255, 59, 48, 0.3);
    --step-bg: #f8f8f8;
    --step-border: rgba(0, 0, 0, 0.06);
    --source-url-bg: #f0f0f0;
    --trust-bg: rgba(255, 149, 0, 0.1);
    --accent-color: #ff7da1;
    --accent-gradient: linear-gradient(135deg, #ff7da1, #ff7da1);
}

/* ?�色模�?變�? */
body.dark-mode {
    --bg-color: #1a1a1a;
    --card-bg: #2a2a2a;
    --card-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-hint: rgba(255, 255, 255, 0.4);
    --input-bg: #333333;
    --input-border: rgba(255, 255, 255, 0.15);
    --input-focus-bg: #3a3a3a;
    --help-bg: #2a2a2a;
    --success-bg: rgba(255, 125, 161, 0.15);
    --success-border: rgba(255, 125, 161, 0.3);
    --error-bg: rgba(255, 59, 48, 0.15);
    --error-border: rgba(255, 59, 48, 0.3);
    --step-bg: #2a2a2a;
    --step-border: rgba(255, 255, 255, 0.08);
    --source-url-bg: #333333;
    --trust-bg: rgba(255, 149, 0, 0.15);
}

/* ?�色模�???html ?�景也�?跟�?�?*/
html.dark-mode,
body.dark-mode ~ html {
    background: #1a1a1a;
}

html {
    min-height: 100%;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    background: var(--bg-color);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang TC', 'Microsoft JhengHei', 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-color);
    min-height: 100%;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    padding-top: max(40px, env(safe-area-inset-top));
    padding-bottom: max(40px, env(safe-area-inset-bottom));
    color: var(--text-primary);
    overflow-x: hidden;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    width: 100%;
    max-width: 500px;
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--card-border);
    transition: background 0.3s ease, border-color 0.3s ease;
}

/* 主題切換按鈕 */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

body.dark-mode .theme-toggle {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

body.dark-mode .theme-toggle:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.theme-toggle svg {
    width: 28px;
    height: 28px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

/* 亮色模�?（�?認�?顯示?�亮，�??��??�到?�色 */
.theme-toggle .icon-moon {
    display: block;
}

.theme-toggle .icon-sun {
    display: none;
}

/* ?�色模�?顯示太陽，�??��??��?亮色 */
body.dark-mode .theme-toggle .icon-moon {
    display: none;
}

body.dark-mode .theme-toggle .icon-sun {
    display: block;
}

.logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo svg {
    width: 36px;
    height: 36px;
    color: #fff;
}

h1 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 30px;
}

/* Tab 切換樣式 */
.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    background: var(--input-bg);
    padding: 4px;
    border-radius: 12px;
}

.tab-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    background: var(--card-bg);
    color: var(--accent-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 說明頁面內部樣式 */
.help-section-inner {
    padding: 0;
}

.help-section-inner h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.help-divider {
    height: 1px;
    background: var(--input-border);
    margin: 30px 0;
}

/* FAQ 樣式 */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--step-bg);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--step-border);
}

.faq-question {
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 8px;
    font-size: 14px;
}

.faq-answer {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.faq-answer p {
    margin: 0;
}

/* 查詢結果樣式 */
.query-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    text-align: left;
}

.query-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--step-bg);
    border-radius: 10px;
    border: 1px solid var(--step-border);
}

.query-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.query-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
    word-break: break-all;
    text-align: right;
    max-width: 60%;
}

.query-success, .query-error {
    text-align: center;
    padding: 10px 0;
}

.query-success svg, .query-error svg {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.query-success svg {
    color: var(--accent-color);
}

.query-error svg {
    color: #ff3b30;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-group label .optional {
    font-weight: 400;
    color: var(--text-hint);
    font-size: 12px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px; /* 保�? 16px ?�止 iOS ?��?縮放 */
    border: 2px solid var(--input-border);
    border-radius: 12px;
    background: var(--input-bg);
    color: var(--text-primary);
    transition: all 0.3s ease;
    -webkit-appearance: none; /* 移除 iOS 默�?�?? */
    appearance: none;
}

.form-group input::placeholder {
    color: var(--text-hint);
}

.form-group input:focus {
    outline: none;
    border-color: #ff7da1;
    background: var(--input-focus-bg);
}

/* 輸入框帶?��? */
.input-with-button {
    display: flex;
    gap: 10px;
}

.input-with-button input {
    flex: 1;
}

.get-udid-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #ff7da1, #ff7da1);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.get-udid-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 125, 161, 0.4);
}

.get-udid-btn:active {
    transform: translateY(0);
}

.get-udid-btn svg {
    width: 18px;
    height: 18px;
}

.hint {
    display: block;
    font-size: 12px;
    color: var(--text-hint);
    margin-top: 6px;
}

button[type="submit"] {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: var(--accent-gradient);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 125, 161, 0.4);
}

button[type="submit"]:active {
    transform: translateY(0);
}

button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.spinner {
    width: 18px;
    height: 18px;
    animation: spin 1s linear infinite;
    flex-shrink: 0;
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-loading span {
    line-height: 1;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.result {
    margin-top: 15px;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
}

.result-success {
    background: rgba(52, 199, 89, 0.1);
    border: 1px solid rgba(52, 199, 89, 0.3);
    border-radius: 12px;
    padding: 20px;
}

.result-success svg {
    width: 48px;
    height: 48px;
    color: #34C759;
    margin-bottom: 10px;
}

.result-success h3 {
    color: #34C759;
    margin-bottom: 5px;
}

.result-success p {
    color: var(--text-secondary);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #34C759;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: #2DB84D;
    transform: translateY(-2px);
}

.download-btn svg {
    width: 20px;
    height: 20px;
    margin: 0;
}

/* 軟件源�???*/
.source-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--card-border);
}

.source-hint {
    color: var(--text-hint);
    font-size: 13px;
    margin-bottom: 12px;
}

.add-source-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--accent-gradient);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.add-source-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 125, 161, 0.4);
}

.add-source-btn svg {
    width: 18px;
    height: 18px;
}

/* App 資訊區 */
.app-info {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--help-bg);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.app-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.app-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.app-details h4 {
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.app-details p {
    color: var(--text-secondary);
    font-size: 13px;
    margin: 2px 0;
}

.app-details .expiration {
    color: #34C759;
    font-size: 12px;
}

.result-error {
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.3);
    border-radius: 12px;
    padding: 20px;
}

.result-error svg {
    width: 48px;
    height: 48px;
    color: #FF3B30;
    margin-bottom: 10px;
}

.result-error h3 {
    color: #FF3B30;
    margin-bottom: 5px;
}

.result-error p {
    color: var(--text-secondary);
}

.help-section {
    margin-top: 30px;
    background: var(--help-bg);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--card-border);
}

.help-section h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.help-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.step {
    display: flex;
    align-items: center;
    gap: 15px;
}

.step-number {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #ff7da1, #ff7da1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
    color: #fff;
}

.step p {
    color: var(--text-secondary);
    font-size: 14px;
}

.step a {
    color: #ff7da1;
    text-decoration: none;
}

.step a:hover {
    text-decoration: underline;
}

footer {
    margin-top: auto; /* ?�到底部 */
    padding-top: 40px;
    padding-bottom: 20px;
    text-align: center;
    color: var(--text-hint);
    font-size: 12px;
    width: 100%;
}

/* ?��?式設�?*/
@media (max-width: 480px) {
    body {
        padding: 20px 15px;
    }
    
    .card {
        padding: 25px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .form-group input {
        padding: 12px 14px;
        font-size: 16px; /* 保�? 16px ?�止 iOS 縮放 */
    }
    
    button[type="submit"] {
        padding: 14px;
    }
}

/* iOS ?��?修復 */
@supports (-webkit-touch-callout: none) {
    /* iOS 專用�?? */
    body {
        -webkit-text-size-adjust: 100%;
    }
    
    input, textarea, select {
        font-size: 16px !important;
    }
}

/* ?�止觸摸?��?高亮 */
* {
    -webkit-tap-highlight-color: transparent;
}

/* 平�?滾�? */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Toast ?�示 */
.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: rgba(52, 199, 89, 0.95);
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast svg {
    width: 20px;
    height: 20px;
}

/* ?��??�面?�樣�?*/
.result-success {
    background: rgba(52, 199, 89, 0.08);
    border: 1px solid rgba(52, 199, 89, 0.2);
    border-radius: 16px;
    padding: 25px;
}

.result-success .success-icon {
    width: 56px;
    height: 56px;
    color: #34C759;
    margin-bottom: 12px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.result-success h3 {
    color: #34C759;
    font-size: 22px;
    margin-bottom: 5px;
}

.success-subtitle {
    color: var(--text-hint);
    font-size: 14px;
    margin-bottom: 20px !important;
}

/* 安�?步�? */
.install-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0;
}

.install-step {
    background: var(--help-bg);
    border-radius: 14px;
    padding: 18px;
    text-align: left;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.install-step:hover {
    border-color: var(--input-border);
    transform: translateY(-2px);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.step-badge {
    background: var(--accent-gradient);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-1 .step-badge {
    background: linear-gradient(135deg, #34C759, #30B350);
}

.step-2 .step-badge {
    background: linear-gradient(135deg, #FF9500, #FF8000);
}

.step-3 .step-badge {
    background: var(--accent-gradient);
}

.step-title {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
}

.install-step .download-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
    margin-bottom: 8px;
}

.step-hint {
    color: var(--text-hint);
    font-size: 12px;
    text-align: center;
    margin: 0;
    padding: 0;
}

.step-desc {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 12px;
}

/* 信任?��? */
.trust-guide {
    background: rgba(255, 149, 0, 0.1);
    border-radius: 10px;
    padding: 12px 15px;
}

.trust-guide p {
    color: var(--text-secondary);
    font-size: 13px;
    margin: 4px 0;
}

.trust-guide strong {
    color: #FF9500;
}

/* 添�?源�???*/
.install-step .add-source-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 14px;
    margin-bottom: 8px;
}

.add-source-btn .icon-add {
    width: 20px;
    height: 20px;
    margin-left: -4px;
}

.add-source-btn svg:first-child {
    display: none;
}

/* ?��?添�?源�???*/
.manual-source {
    margin-top: 20px;
    border-top: 1px solid var(--card-border);
    padding-top: 15px;
}

.manual-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    color: var(--text-hint);
    font-size: 13px;
    padding: 8px;
    transition: all 0.2s ease;
}

.manual-header:hover {
    color: var(--text-secondary);
}

.manual-header .chevron {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.manual-header.expanded .chevron {
    transform: rotate(180deg);
}

.manual-content {
    display: none;
    margin-top: 12px;
    text-align: center;
}

.manual-content.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.manual-content p {
    color: var(--text-secondary);
    font-size: 13px;
    margin: 6px 0;
}

.source-url {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--source-url-bg);
    padding: 12px 16px;
    border-radius: 10px;
    margin-top: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--card-border);
}

.source-url:hover {
    background: var(--input-bg);
}

.source-url:active {
    transform: scale(0.98);
}

.source-url code {
    color: #ff7da1;
    font-family: 'SF Mono', Monaco, 'Consolas', monospace;
    font-size: 12px;
    word-break: break-all;
}

.source-url svg {
    width: 18px;
    height: 18px;
    color: var(--text-hint);
    flex-shrink: 0;
}

/* 聯絡方式按鈕 */
.contact-links {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.contact-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.contact-btn svg {
    width: 20px;
    height: 20px;
}

.contact-btn.line-btn {
    background: linear-gradient(135deg, #00B900, #00C300);
}

.contact-btn.line-btn:hover {
    background: linear-gradient(135deg, #00A000, #00B000);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 185, 0, 0.4);
}

.contact-btn.youtube-btn {
    background: linear-gradient(135deg, #FF0000, #CC0000);
}

.contact-btn.youtube-btn:hover {
    background: linear-gradient(135deg, #E00000, #B00000);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
}

/* 複製 toast */
.toast.copy-toast {
    background: rgba(255, 125, 161, 0.95);
}

/* 有效期限倒數計時器 */
.expiry-countdown {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    margin: 15px 0;
    background: linear-gradient(135deg, rgba(255, 125, 161, 0.15), rgba(255, 125, 161, 0.08));
    border: 1px solid rgba(255, 125, 161, 0.3);
    border-radius: 12px;
    font-size: 14px;
    color: var(--text-color);
}

.expiry-countdown svg {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expiry-countdown svg path {
    transform-origin: center;
}

.expiry-countdown > span {
    display: inline;
    line-height: 16px;
}

.expiry-countdown strong {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 700;
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
}

.expiry-countdown.warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 193, 7, 0.08));
    border-color: rgba(255, 193, 7, 0.4);
}

.expiry-countdown.warning svg,
.expiry-countdown.warning strong {
    color: #ffc107;
}

.expiry-countdown.danger {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.15), rgba(220, 53, 69, 0.08));
    border-color: rgba(220, 53, 69, 0.4);
    animation: pulse-danger 1s ease-in-out infinite;
}

.expiry-countdown.danger svg,
.expiry-countdown.danger strong {
    color: #dc3545;
}

@keyframes pulse-danger {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.expiry-countdown.expired {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.15), rgba(108, 117, 125, 0.08));
    border-color: rgba(108, 117, 125, 0.3);
}

.expiry-countdown.expired svg,
.expiry-countdown.expired strong {
    color: #6c757d;
}
