.repent-app {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    font-family: inherit;
    color: rgba(255, 255, 255, 0.8);
}

.app-nav {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    background: #27282c;
    border-radius: 8px;
    overflow: hidden;
}

.app-nav button {
    flex: 1;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 12px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.2s;
}

.app-nav button.active {
    background: #307FFF;
    color: white;
}

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

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

/* Status Card */
.status-card {
    background: #27282c;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-card h3 {
    margin-top: 0;
    color: #fbef8a;
}

.status-card p {
    margin: 5px 0;
    font-size: 1.1em;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

button.primary-btn, button.secondary-btn, button.danger-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.1s;
}

button:active {
    transform: scale(0.98);
}

button.primary-btn {
    background: #307FFF;
    color: white;
}

button.secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

button.danger-btn {
    background: #BE3C3A;
    color: white;
}

/* Recent Logs */
/* Quick Add Form */
#quick-add-form {
    background: #27282c;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px solid #307FFF;
}

.form-container h4 {
    margin-top: 0;
    margin-bottom: 12px;
}

.form-container input[type="text"] {
    width: 100%;
    background: #19191c;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.form-row {
    display: flex;
    gap: 10px;
}

.form-row input[type="number"] {
    width: 70px;
    background: #19191c;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px;
    border-radius: 6px;
}

button.link-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    margin-top: 10px;
    font-size: 0.9em;
}

.recent-sins {
    margin-top: 32px;
}

.recent-sins h4 {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.recent-sins ul {
    list-style: none;
    padding: 0;
}

.recent-sins li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Examination Screen */
.examine-modes {
    display: grid;
    gap: 16px;
}

.examine-modes button {
    padding: 24px;
    background: #27282c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 12px;
    font-size: 1.2em;
    cursor: pointer;
}

.examine-modes button:hover {
    border-color: #fbef8a;
}

.exam-category {
    margin-bottom: 24px;
}

.exam-category h4 {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    border-radius: 4px;
    color: #fbef8a;
}

.exam-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.exam-item label {
    display: block;
    cursor: pointer;
}

.exam-item input[type="checkbox"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
}

.sin-controls {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    padding-left: 30px;
}

.sin-controls input {
    background: #19191c;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px;
    border-radius: 4px;
}

.sin-controls input[type="number"] {
    width: 60px;
}

.sin-controls input[type="text"] {
    flex: 1;
}

/* Preparation Screen */
.prep-list {
    list-style: none;
    padding: 0;
}

.prep-list li {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 12px;
    padding: 16px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sin-info {
    flex: 1;
}

.sin-text {
    display: block;
    font-weight: 600;
}

.sin-count {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.6);
}

.sin-notes {
    margin: 4px 0 0 0;
    font-size: 0.9em;
    font-style: italic;
    color: rgba(255, 255, 255, 0.5);
}

.remove-btn {
    background: none;
    border: none;
    color: #BE3C3A;
    font-size: 1.5em;
    cursor: pointer;
    padding: 0 8px;
}

.prayer-section {
    margin-top: 32px;
    padding: 16px;
    background: rgba(251, 239, 138, 0.05);
    border-radius: 8px;
    border-left: 4px solid #fbef8a;
}

.prayer-section h4 {
    margin-top: 0;
    color: #fbef8a;
}

.prayer-text {
    font-size: 0.95em;
    line-height: 1.5;
    margin-bottom: 0;
    font-style: italic;
}

.prep-footer {
    margin-top: 32px;
}

/* History */
.history-item {
    background: #27282c;
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
}

.history-header {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
}

.history-details {
    padding: 16px;
}

.history-details ul {
    margin-bottom: 16px;
}

.delete-history-btn {
    background: none;
    border: 1px solid #BE3C3A;
    color: #BE3C3A;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.hidden { display: none; }
.empty-msg { text-align: center; color: rgba(255, 255, 255, 0.4); margin: 40px 0; }
.subtitle { text-align: center; color: rgba(255, 255, 255, 0.6); margin-top: -10px; margin-bottom: 24px; }
