/* 动漫风格 CSS - 无粉色 */
:root {
    --primary: #4a6fa5;
    --primary-light: #6989b9;
    --primary-dark: #345990;
    --secondary: #5d9e7b;
    --secondary-light: #7ab796;
    --secondary-dark: #428560;
    --accent: #f3b941;
    --dark: #333645;
    --light: #f5f7fa;
    --danger: #e74c3c;
    --success: #2ecc71;
    --warning: #f39c12;
    --info: #3498db;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z" fill="%234a6fa5" fill-opacity="0.05" fill-rule="evenodd"/></svg>'),
        linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(240,242,245,0.7) 100%);
    color: var(--dark);
    line-height: 1.6;
    background-attachment: fixed;
}

.container {
    max-width: 1000px;
    margin: 20px auto;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

h1 {
    text-align: center;
    color: var(--primary-dark);
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 28px;
    position: relative;
    padding-bottom: 12px;
    display: inline-block;
}

h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

input[type="text"], 
input[type="number"],
input[type="date"], 
select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #dbe0e6;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 15px;
    background-color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus, 
input[type="number"]:focus,
input[type="date"]:focus, 
select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.1);
    outline: none;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.col {
    flex: 1;
    padding: 0 12px;
    min-width: 200px;
}

/* Button Styles */
.submit-btn,
.check-btn,
.export-link,
.search-btn,
.delete-btn,
.back-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s;
    display: inline-block;
    text-decoration: none;
}

input[type="date"] {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid rgba(219, 224, 230, 0.8);
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="date"]:focus {
    border-color: rgba(74, 111, 165, 0.6);
    box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.1);
    outline: none;
}

.submit-btn {
    background-color: rgba(93, 158, 123, 0.85);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s;
    display: inline-block;
    text-decoration: none;
    padding: 9px 18px;
    box-shadow: 0 2px 4px rgba(93, 158, 123, 0.2);
    border: 1px solid rgba(93, 158, 123, 0.2);
}

.submit-btn:hover {
    background-color: rgba(66, 133, 96, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(93, 158, 123, 0.25);
}

.check-btn {
    background-color: var(--primary);
    color: white;
}

.check-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(74, 111, 165, 0.2);
}

.export-link {
    background-color: var(--secondary);
    color: white;
    margin-left: 10px;
}

.export-link:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(93, 158, 123, 0.2);
    color: white;
    text-decoration: none;
}

.search-btn {
    background-color: var(--info);
    color: white;
    width: 100%;
}

.search-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.2);
}

.delete-btn {
    background-color: var(--danger);
    color: white;
}

.delete-btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.2);
}

.back-btn {
    background-color: #7f8c8d;
    color: white;
}

.back-btn:hover {
    background-color: #636e72;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(127, 140, 141, 0.2);
}

.delete-link {
    background-color: var(--danger);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    float: right;
    transition: all 0.2s;
}

.delete-link:hover {
    background-color: #c0392b;
    text-decoration: none;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.2);
}

.stats-link {
    background-color: var(--info);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    float: right;
    margin-right: 10px;
    transition: all 0.2s;
}

.stats-link:hover {
    background-color: #2980b9;
    text-decoration: none;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.2);
}

.duplicate-link {
    background-color: var(--accent);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    float: right;
    margin-right: 10px;
    transition: all 0.2s;
}

.duplicate-link:hover {
    background-color: #e0a82e;
    text-decoration: none;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(243, 185, 65, 0.2);
}

.export-actions {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.stats-card {
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(74, 111, 165, 0.08);
    text-align: center;
    backdrop-filter: blur(5px);
}

.stats-form {
    max-width: 450px;
    margin: 0 auto;
}

.date-selection {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0 auto;
}

.date-selection .form-group {
    flex: 1;
    text-align: left;
    margin-bottom: 0;
}

.input-wrap {
    position: relative;
    margin-top: 8px;
}

.button-wrap {
    display: flex;
    align-items: center;
    height: 42px;
    margin-top: 20px;
}

.date-selection .submit-btn {
    min-width: 120px;
    height: 38px;
    margin: 0;
}

.stats-results {
    animation: fadeIn 0.4s ease-out;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    border: 1px solid rgba(74, 111, 165, 0.08);
    text-align: center;
    backdrop-filter: blur(5px);
}

.stats-header-title {
    margin-bottom: 25px;
}

.stats-header-title h2 {
    color: var(--primary-dark);
    text-align: center;
    margin: 0 0 5px 0;
    position: relative;
    padding-bottom: 12px;
    display: inline-block;
    font-size: 20px;
}

.stats-header-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

/* Alerts and Notifications */
.success,
.error,
.info,
.warning,
.alert-success,
.alert-warning,
.alert-danger {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
    padding-left: 60px;
}

.success::before,
.error::before,
.warning::before,
.info::before,
.alert-success::before,
.alert-warning::before,
.alert-danger::before {
    font-family: sans-serif;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: bold;
}

.success, .alert-success {
    background-color: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #27ae60;
}

.success::before, .alert-success::before {
    content: "✓";
    color: #27ae60;
}

.error, .alert-danger {
    background-color: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #c0392b;
}

.error::before, .alert-danger::before {
    content: "✕";
    color: #c0392b;
}

.warning, .alert-warning {
    background-color: rgba(243, 156, 18, 0.1);
    border: 1px solid rgba(243, 156, 18, 0.3);
    color: #d35400;
}

.warning::before, .alert-warning::before {
    content: "!";
    color: #d35400;
}

.info {
    background-color: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.3);
    color: #2980b9;
}

.info::before {
    content: "i";
    color: #2980b9;
}

.duplicate-warning {
    background-color: rgba(243, 156, 18, 0.1);
    border-left: 4px solid #f39c12;
    padding: 15px;
    margin: 10px 0 20px 0;
    border-radius: 0 8px 8px 0;
}

/* Stats Table Styles */
.stats-table-container {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stats-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: center;
    background-color: white;
    overflow: hidden;
    border-radius: 8px;
}

.stats-table th,
.stats-table td {
    padding: 12px 15px;
    border: none;
    border-bottom: 1px solid #ebeef5;
}

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

.stats-table .stats-header {
    background-color: var(--primary-light);
    color: white;
}

.stats-table .stats-header th:first-child {
    border-top-left-radius: 8px;
}

.stats-table .stats-header th:last-child {
    border-top-right-radius: 8px;
}

.stats-table .group-header,
.stats-table .total-header {
    background-color: var(--primary);
    color: white;
}

.stats-table .member-header {
    background-color: var(--primary-light);
    color: white;
}

.stats-table .group-row:nth-child(even) {
    background-color: rgba(74, 111, 165, 0.03);
}

.stats-table .group-row:hover {
    background-color: rgba(74, 111, 165, 0.06);
}

.stats-table .group-name {
    font-weight: bold;
    background-color: #f5f7fa;
    text-align: center;
    border-right: 1px solid #ebeef5;
}

.stats-table .count-cell {
    color: #999;
    font-size: 15px;
}

.stats-table .has-count {
    font-weight: bold;
    color: var(--accent);
    font-size: 16px;
}

.stats-table .group-total {
    font-weight: bold;
    background-color: rgba(93, 158, 123, 0.06);
    border-left: 1px solid #ebeef5;
    color: var(--secondary-dark);
}

.stats-table .totals-row {
    border-top: 2px solid #ebeef5;
    background-color: rgba(74, 111, 165, 0.04);
}

.stats-table .total-label {
    font-weight: bold;
    text-align: center;
    color: var(--primary-dark);
}

.stats-table .member-total {
    font-weight: bold;
    color: var(--accent);
}

.stats-table .grand-total {
    font-weight: bold;
    background-color: rgba(74, 111, 165, 0.1);
    color: var(--primary);
    font-size: 16px;
}

.group-summary {
    margin: 20px 0;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    border: 1px solid rgba(233, 236, 239, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(3px);
}

.group-summary-item {
    font-weight: normal;
    color: var(--accent);
    display: inline-block;
    margin: 0 5px;
}

.group-summary-total {
    font-weight: bold;
    color: var(--primary);
    margin-left: 5px;
}

/* Export Data */
.export-container {
    margin: 30px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.export-container h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--dark);
    font-size: 18px;
}

.export-data {
    padding: 15px;
    background-color: #fff;
    border: 1px solid #dbe0e6;
    border-radius: 8px;
    font-family: monospace;
    white-space: pre-wrap;
    word-break: break-all;
    margin-bottom: 15px;
    font-size: 14px;
    min-height: 60px;
    max-height: 200px;
    overflow-y: auto;
}

.copy-btn {
    background-color: #7f8c8d;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.copy-btn:hover {
    background-color: #636e72;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(127, 140, 141, 0.2);
}

/* Redirect notice */
.redirect-notice {
    background-color: rgba(52, 152, 219, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
    border: 1px solid rgba(52, 152, 219, 0.3);
    color: #2980b9;
}

/* Plain text status */
.plain-text-status {
    font-family: monospace;
    white-space: pre-wrap;
    padding: 15px;
    background-color: #f5f7fa;
    border: 1px solid #dbe0e6;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 14px;
    color: var(--dark);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

/* WhatsApp Search Results */
.search-card, .results-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #ebeef5;
}

.search-title, .results-title {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--primary-dark);
    text-align: center;
    font-size: 22px;
    position: relative;
    padding-bottom: 10px;
}

.search-title::after, .results-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

.result-item {
    background-color: #f8f9fa;
    border: 1px solid #ebeef5;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.result-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.result-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    border-bottom: 1px solid #ebeef5;
    padding-bottom: 10px;
}

.result-number {
    font-weight: bold;
    color: var(--primary);
}

.result-detail {
    margin-bottom: 8px;
}

.result-label {
    font-weight: bold;
    display: inline-block;
    width: 100px;
    color: var(--dark);
}

/* Counter info */
.counter-info {
    background-color: rgba(74, 111, 165, 0.05);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    border: 1px solid rgba(74, 111, 165, 0.1);
}

.counter-info p {
    margin: 5px 15px;
    font-size: 15px;
}

.counter-info strong {
    color: var(--primary-dark);
}

/* Last added record */
.last-added {
    background-color: rgba(93, 158, 123, 0.1);
    color: var(--secondary-dark);
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 18px;
    text-align: center;
    border: 1px solid rgba(93, 158, 123, 0.2);
}

/* Navigation */
.navigation {
    margin-bottom: 25px;
    overflow: hidden;
    text-align: left;
}

/* Modern Navigation */
.navigation-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    padding: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.navigation-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4a90e2 0%, #2ecc71 100%);
    opacity: 0.8;
}

.nav-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    min-width: 100px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.nav-btn:hover::before {
    left: 100%;
}

.nav-btn-primary,
.nav-btn-info,
.nav-btn-danger {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.25);
}

.nav-btn-primary:hover,
.nav-btn-info:hover,
.nav-btn-danger:hover {
    background: linear-gradient(135deg, #3a80d2 0%, #256aad 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
}

.nav-icon {
    font-size: 16px;
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.nav-btn:hover .nav-icon {
    transform: scale(1.15) rotate(5deg);
}

.nav-text {
    position: relative;
    z-index: 1;
}

/* Active state */
.nav-btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* Responsive design for navigation */
@media (max-width: 768px) {
    .navigation-modern {
        flex-direction: column;
        padding: 15px;
    }
    
    .nav-btn {
        width: 100%;
        min-width: auto;
    }
}

.back-link {
    display: block;
    margin-bottom: 20px;
}

/* Deleted record */
.deleted-record {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid var(--danger);
}

.deleted-record pre {
    white-space: pre-wrap;
    font-family: monospace;
    background-color: #f1f1f1;
    padding: 10px;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 14px;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 15px;
    }
    
    .row {
        flex-direction: column;
    }
    
    .col {
        width: 100%;
        padding: 0;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .stats-table th,
    .stats-table td {
        padding: 8px;
        font-size: 14px;
    }
    
    .result-label {
        width: 80px;
    }
}

/* Anime-style decorative elements */
.container::after {
    content: "";
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M30,10 Q50,5 70,10 Q95,20 90,50 Q85,80 50,90 Q15,85 10,50 Q15,20 30,10" stroke="%235d9e7b" stroke-width="0.5" fill="none" opacity="0.2"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.5;
    pointer-events: none;
}

.data-display {
    margin-top: 30px;
    border-top: 1px solid #ebeef5;
    padding-top: 20px;
}

.data-display h2 {
    color: var(--primary-dark);
    font-size: 20px;
    margin-bottom: 15px;
}

/* Subtle animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.container {
    animation: fadeIn 0.3s ease-out;
}

.submit-btn, .check-btn, .search-btn, .delete-btn, .back-btn, 
.delete-link, .stats-link, .duplicate-link, .export-link, .copy-btn {
    position: relative;
    overflow: hidden;
}

.submit-btn:after, .check-btn:after, .search-btn:after, .delete-btn:after, .back-btn:after,
.delete-link:after, .stats-link:after, .duplicate-link:after, .export-link:after, .copy-btn:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.submit-btn:focus:not(:active)::after, .check-btn:focus:not(:active)::after, 
.search-btn:focus:not(:active)::after, .delete-btn:focus:not(:active)::after,
.back-btn:focus:not(:active)::after, .delete-link:focus:not(:active)::after,
.stats-link:focus:not(:active)::after, .duplicate-link:focus:not(:active)::after,
.export-link:focus:not(:active)::after, .copy-btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0;
    }
    20% {
        transform: scale(25, 25);
        opacity: 0.5;
    }
    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}
