.eca-dashboard {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.eca-hero {
    text-align: center;
    margin-bottom: 50px;
}

.eca-hero h1 {
    font-size: 48px;
    color: #123d6b;
    margin-bottom: 15px;
}

.eca-hero p {
    font-size: 20px;
    color: #666;
}

.eca-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.eca-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    border: 1px solid #ececec;
    transition: all 0.2s ease;
}

.eca-card:hover {
    transform: translateY(-5px);
}

.eca-card h2 {
    margin-top: 0;
    color: #123d6b;
    font-size: 28px;
    margin-bottom: 15px;
}

.eca-card p {
    color: #666;
    line-height: 1.6;
}

.eca-snapshot {
    background: #f5f8fb;
    border-radius: 16px;
    padding: 35px;
    margin-bottom: 50px;
}

.eca-snapshot h2 {
    color: #123d6b;
    margin-bottom: 25px;
}

.eca-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.eca-stat-box {
    flex: 1;
    min-width: 200px;
    background: white;
    border-radius: 14px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
}

.eca-stat-number {
    display: block;
    font-size: 40px;
    font-weight: bold;
    color: #0d7a5f;
    margin-bottom: 10px;
}

.eca-stat-label {
    color: #666;
    font-size: 16px;
}

.eca-frontend-attendance {
    padding: 40px 20px;
}
.eca-attendance-module {
    background: white;
    border-radius: 18px;
    padding: 40px;
    margin-top: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.eca-module-header {
    margin-bottom: 30px;
}

.eca-module-header h2 {
    font-size: 38px;
    color: #123d6b;
    margin-bottom: 10px;
}

.eca-module-header p {
    color: #666;
    font-size: 17px;
}

.eca-attendance-module select,
.eca-attendance-module input[type="date"] {
    padding: 12px 14px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    font-size: 15px;
}

.eca-attendance-module input[type="submit"] {
    background: #123d6b;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    transition: 0.2s ease;
}

.eca-attendance-module input[type="submit"]:hover {
    background: #0d2f52;
}
.eca-snapshot {
    margin-bottom: 30px;
}

.eca-attendance-module {
    margin-top: 20px;
}

.eca-dashboard {
    padding-bottom: 20px;
}

.eca-visitor-module {
    background: #f8fafc;
    border-radius: 14px;
    padding: 25px;
    margin-top: 30px;
    border: 1px solid #e4e7eb;
}

.eca-visitor-module h3 {
    margin-top: 0;
    color: #123d6b;
}

.eca-visitor-module input,
.eca-visitor-module textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    box-sizing: border-box;
}

.eca-visitor-module textarea {
    min-height: 100px;
}

.eca-visitor-module input[type="submit"] {
    width: auto;
}

.eca-add-visitor-button {
    display: inline-block;
    margin-left: 15px;
    padding: 12px 18px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #123d6b;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s ease;
}

.eca-add-visitor-button:hover {
    background: #dbe7f3;
}

.eca-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

.eca-modal-content {
    background: white;
    padding: 35px;
    border-radius: 18px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.eca-modal-content h2 {
    margin-top: 0;
    color: #123d6b;
}

.eca-modal-content input,
.eca-modal-content textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    box-sizing: border-box;
}

.eca-modal-content textarea {
    min-height: 100px;
}

.eca-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #666;
}