* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif;
    background-color: #F5F7EF;
    color: #333;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

/* Header */
.header {
    background: linear-gradient(135deg, #8E9B53 0%, #B3C177 100%);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(156, 39, 89, 0.3);
}

.header-back {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #FFF;
    text-decoration: none;
    font-size: 24px;
    opacity: 0.9;
}

.header-back:hover { opacity: 1; }

.header-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFF;
    letter-spacing: 0.01em;
}

/* Content Container */
.content {
    padding: 1.25rem;
    max-width: 720px;
    margin: 0 auto;
}

/* Section Cards */
.section-card {
    background: #FFF;
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* Info Box */
.info-box {
    background: #f0f7f0;
    border-left: 4px solid #4caf50;
    border-radius: 0 12px 12px 0;
    padding: 0.85rem 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: #2e7d32;
    line-height: 1.5;
}

.info-box--warning {
    background: #fff8e1;
    border-left-color: #ff9800;
    color: #e65100;
}

.info-box--blue {
    background: #e3f2fd;
    border-left-color: #2196f3;
    color: #1565c0;
}

/* Tables */
.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.data-table th {
    background: #8E9B53;
    color: #FFF;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.75rem 0.85rem;
    text-align: left;
}

.data-table td {
    padding: 0.7rem 0.85rem;
    font-size: 0.85rem;
    border-bottom: 1px solid #E9EEDD;
    vertical-align: top;
}

.data-table tr:nth-child(even) td {
    background-color: #fdf5f8;
}

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

/* Accept Footer */
.accept-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFF;
    padding: 0.85rem 1.25rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    text-align: center;
    z-index: 200;
}

.accept-btn {
    width: 100%;
    max-width: 400px;
    padding: 0.85rem 1.5rem;
    background: linear-gradient(135deg, #8E9B53 0%, #B3C177 100%);
    color: #FFF;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
}

.accept-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.accept-btn:active { transform: translateY(0); }

.accept-btn--accepted {
    background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
    cursor: default;
}

.accept-status {
    font-size: 0.8rem;
    color: #2e7d32;
    margin-top: 0.35rem;
    font-weight: 500;
}

/* Last Updated */
.last-updated {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 1rem;
    padding-left: 0.25rem;
}

/* Spacer for fixed footer */
.footer-spacer {
    height: 100px;
}

/* License Item */
.license-item {
    padding: 0.85rem 0;
    border-bottom: 1px solid #E9EEDD;
}

.license-item:last-child { border-bottom: none; }

.license-name {
    font-weight: 600;
    color: #8E9B53;
    font-size: 0.95rem;
}

.license-desc {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.15rem;
}

.license-type {
    display: inline-block;
    font-size: 0.75rem;
    color: #FFF;
    background: #8E9B53;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    margin-top: 0.3rem;
}

.license-type--open {
    background: #2e7d32;
}
