.screen-time-recorder-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 24px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.str-header h3 {
    margin: 0 0 16px 0;
    color: #1a1a1a;
    font-size: 24px;
    font-weight: 600;
}

.str-privacy-notice {
    background: #f0f7ff;
    border-left: 4px solid #0066cc;
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.str-privacy-notice p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #2c5282;
}

.str-form {
    margin-top: 20px;
}

.str-input-group {
    margin-bottom: 16px;
}

.str-input-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.str-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.str-input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.str-consent-group {
    margin-bottom: 20px;
}

.str-consent-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.str-consent-checkbox {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.str-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.str-btn {
    flex: 1;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.str-btn:active {
    transform: translateY(1px);
}

.str-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.str-btn-primary {
    background-color: #0066cc;
    color: white;
}

.str-btn-primary:hover:not(:disabled) {
    background-color: #0052a3;
}

.str-btn-danger {
    background-color: #dc2626;
    color: white;
}

.str-btn-danger:hover:not(:disabled) {
    background-color: #b91c1c;
}

.str-timer-display {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.str-current-timer,
.str-total-timer {
    flex: 1;
    padding: 16px;
    background: #f9fafb;
    border-radius: 6px;
    text-align: center;
}

.str-timer-label {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.str-timer-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    font-variant-numeric: tabular-nums;
}

.str-status {
    padding: 12px;
    border-radius: 6px;
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.4;
}

.str-status-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.str-status-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.str-status-info {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.str-sessions-log {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.str-sessions-log h4 {
    margin: 0 0 12px 0;
    font-size: 18px;
    color: #1a1a1a;
}

.str-sessions-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.str-session-item {
    padding: 12px;
    background: #f9fafb;
    border-radius: 4px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.str-session-time {
    color: #6b7280;
}

.str-session-duration {
    font-weight: 600;
    color: #0066cc;
}

@media (max-width: 640px) {
    .screen-time-recorder-container {
        margin: 10px;
        padding: 16px;
    }
    
    .str-buttons {
        flex-direction: column;
    }
    
    .str-btn {
        width: 100%;
    }
    
    .str-timer-display {
        flex-direction: column;
        gap: 12px;
    }
    
    .str-timer-value {
        font-size: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .str-btn,
    .str-input {
        transition: none;
    }
}
