/* Reminder-specific styles */
.reminder-hero {
    background: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.reminder-header {
    max-width: 600px;
    margin: 0 auto;
}

.reminder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.reminder-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.reminder-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.reminder-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.reminder-container {
    padding: 3rem 0;
    background: #f9fafb;
}

.reminder-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.reminder-main {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.add-reminder h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #1f2937;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: border-color 0.2s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #06b6d4;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.custom-frequency {
    transition: all 0.3s ease;
}

.custom-frequency.hidden {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin-bottom: 0;
}

.reminder-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stats-card,
.quick-tips {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.stats-card h4,
.quick-tips h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
}

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

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.stat-value {
    font-weight: 600;
    color: #1f2937;
}

.tip-item {
    background: #f9fafb;
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-left: 3px solid #06b6d4;
}

.tip-item:last-child {
    margin-bottom: 0;
}

.tip-item strong {
    color: #1f2937;
}

.reminders-section {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.reminders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.reminders-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
}

.reminders-controls select {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background: white;
    color: #374151;
    font-size: 0.875rem;
    cursor: pointer;
}

.reminders-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reminder-item {
    background: #f9fafb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    border-left: 4px solid #06b6d4;
    transition: transform 0.2s ease;
    position: relative;
}

.reminder-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.reminder-item.overdue {
    border-left-color: #ef4444;
    background: #fef2f2;
}

.reminder-item.due-soon {
    border-left-color: #f59e0b;
    background: #fffbeb;
}

.reminder-item.up-to-date {
    border-left-color: #10b981;
    background: #f0fdf4;
}

.reminder-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reminder-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 1.125rem;
}

.reminder-type {
    background: #e5e7eb;
    color: #374151;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    text-transform: capitalize;
}

.reminder-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.reminder-detail {
    font-size: 0.875rem;
}

.reminder-detail strong {
    color: #374151;
    display: block;
    margin-bottom: 0.25rem;
}

.reminder-detail span {
    color: #6b7280;
}

.reminder-notes {
    background: white;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
    border-left: 3px solid #e5e7eb;
}

.reminder-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.reminder-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.reminder-btn.primary {
    background: #06b6d4;
    color: white;
}

.reminder-btn.primary:hover {
    background: #0891b2;
}

.reminder-btn.secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.reminder-btn.secondary:hover {
    background: #e5e7eb;
}

.reminder-btn.danger {
    background: #ef4444;
    color: white;
}

.reminder-btn.danger:hover {
    background: #dc2626;
}

.status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge.overdue {
    background: #fef2f2;
    color: #dc2626;
}

.status-badge.due-soon {
    background: #fffbeb;
    color: #d97706;
}

.status-badge.up-to-date {
    background: #f0fdf4;
    color: #059669;
}

.no-reminders {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
    font-style: italic;
}

.related-tools {
    padding: 3rem 0;
    background: white;
}

.related-tools .section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.related-tools .tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.related-tools .tool-card {
    padding: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .reminder-title {
        font-size: 2rem;
    }
    
    .reminder-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .reminder-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .reminder-main {
        padding: 1.5rem;
    }
    
    .reminders-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .reminder-details {
        grid-template-columns: 1fr;
    }
    
    .reminder-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .reminder-hero {
        padding: 2rem 0;
    }
    
    .reminder-title {
        font-size: 1.75rem;
    }
    
    .reminder-main {
        padding: 1rem;
        margin: 0 1rem;
    }
    
    .reminder-sidebar {
        margin: 0 1rem;
    }
    
    .reminders-section {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .reminder-item {
        padding: 1rem;
    }
    
    .reminder-actions {
        flex-direction: column;
    }
    
    .reminder-btn {
        width: 100%;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

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

.slide-in {
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.scale-in {
    animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
