/* Tazkaron Pro - Frontend Styles */

.tazkaron-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.tazkaron-header {
    text-align: center;
    margin-bottom: 30px;
}

.tazkaron-header h2 {
    color: #667eea;
    margin: 0 0 10px 0;
    font-size: 32px;
}

.tazkaron-subtitle {
    color: #666;
    margin: 0;
    font-size: 14px;
}

/* Push Status */
.tazkaron-push-status {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
    color: #856404;
    transition: all 0.3s;
}

.tazkaron-push-status.enabled {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}

/* Status Messages */
.tazkaron-status {
    background: #f0f4ff;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}

.tazkaron-status.info {
    background: #f0f4ff;
    color: #667eea;
}

.tazkaron-status.success {
    background: #e0ffe0;
    color: #2e7d32;
}

.tazkaron-status.error {
    background: #ffe0e0;
    color: #d32f2f;
}

/* Recording Section */
.tazkaron-record-section {
    text-align: center;
    margin: 30px 0;
}

.tazkaron-record-btn {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 48px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tazkaron-record-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.6);
}

.tazkaron-record-btn:active {
    transform: scale(0.95);
}

.tazkaron-record-btn.recording {
    background: linear-gradient(135deg, #f44336 0%, #e91e63 100%);
    animation: tazkaron-pulse 1.5s infinite;
}

@keyframes tazkaron-pulse {
    0%, 100% { box-shadow: 0 8px 20px rgba(244, 67, 54, 0.4); }
    50% { box-shadow: 0 8px 40px rgba(244, 67, 54, 0.8); }
}

.tazkaron-hint {
    margin-top: 15px;
    color: #666;
    font-size: 14px;
}

/* Transcription Box */
.tazkaron-transcription-box {
    margin-bottom: 20px;
}

.tazkaron-transcription-box label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.tazkaron-transcription-box textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s;
}

.tazkaron-transcription-box textarea:focus {
    outline: none;
    border-color: #667eea;
}

/* DateTime Input */
.tazkaron-datetime {
    margin-bottom: 20px;
}

.tazkaron-datetime label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.tazkaron-datetime input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.tazkaron-datetime input:focus {
    outline: none;
    border-color: #667eea;
}

/* Action Buttons */
.tazkaron-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tazkaron-btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.tazkaron-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.tazkaron-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.tazkaron-btn-secondary {
    background: #f0f0f0;
    color: #666;
}

.tazkaron-btn-secondary:hover {
    background: #e0e0e0;
}

.tazkaron-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Reminders List */
.tazkaron-reminders-list {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.tazkaron-reminders-list h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.tazkaron-reminder-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.tazkaron-reminder-item:hover {
    background: #f0f0f0;
    transform: translateX(-2px);
}

.tazkaron-reminder-content {
    flex: 1;
}

.tazkaron-reminder-text {
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.tazkaron-reminder-time {
    font-size: 12px;
    color: #666;
}

.tazkaron-delete-btn {
    background: #ff5252;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
}

.tazkaron-delete-btn:hover {
    background: #ff1744;
    transform: scale(1.05);
}

.tazkaron-empty {
    text-align: center;
    color: #999;
    padding: 20px;
}

/* Login Notice */
.tazkaron-login-notice {
    background: #e3f2fd;
    border: 1px solid #2196f3;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    margin-top: 20px;
}

.tazkaron-login-notice p {
    margin: 0;
    color: #1976d2;
}

.tazkaron-login-notice a {
    color: #0d47a1;
    font-weight: bold;
    text-decoration: none;
}

.tazkaron-login-notice a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    .tazkaron-container {
        margin: 20px;
        padding: 20px;
    }
    
    .tazkaron-record-btn {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }
    
    .tazkaron-actions {
        flex-direction: column;
    }
}
