/* ORHC Management System Styles */

#orhc-login-form,
#orhc-dashboard {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: Arial, sans-serif;
}

#orhc-login-form h3,
#orhc-dashboard h2,
#orhc-dashboard h3 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.orhc-section {
    background: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.orhc-section h3 {
    margin-top: 0;
    color: #34495e;
    border-bottom: 1px solid #ecf0f1;
}

#orhc-login-form input[type="text"],
#orhc-dashboard input[type="text"],
#orhc-dashboard input[type="datetime-local"],
#orhc-dashboard select,
#orhc-dashboard textarea,
#orhc-dashboard input[type="file"] {
    width: 100%;
    max-width: 400px;
    padding: 8px 12px;
    border: 1px solid #bdc3c7;
    border-radius: 4px;
    font-size: 14px;
    margin-top: 5px;
}

#orhc-login-form input[type="submit"],
#orhc-dashboard input[type="submit"] {
    background: #3498db;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
}

#orhc-login-form input[type="submit"]:hover,
#orhc-dashboard input[type="submit"]:hover {
    background: #2980b9;
}

.orhc-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.orhc-table th,
.orhc-table td {
    padding: 12px 8px;
    text-align: left;
    border-bottom: 1px solid #ecf0f1;
    font-size: 13px;
}

.orhc-table th {
    background: #34495e;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
}

.orhc-table tr:hover {
    background: #f8f9fa;
}

.orhc-table tr.overdue {
    background: #ffebee;
    color: #c62828;
}

.orhc-table tr.due-soon {
    background: #fff3e0;
    color: #ef6c00;
}

.orhc-table tr.overdue:hover {
    background: #ffcdd2;
}

.orhc-table tr.due-soon:hover {
    background: #ffe0b2;
}

#orhc-login-message,
#create-user-message,
#upload-message,
#assign-task-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
}

#orhc-login-form label,
#orhc-dashboard label {
    font-weight: bold;
    color: #2c3e50;
    display: block;
    margin-bottom: 5px;
}

#orhc-dashboard p {
    margin-bottom: 15px;
}

.orhc-user-info {
    background: #ecf0f1;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.orhc-logout-link {
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
}

.orhc-logout-link:hover {
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
    #orhc-login-form,
    #orhc-dashboard {
        margin: 10px;
        padding: 15px;
    }
    
    .orhc-table {
        font-size: 12px;
    }
    
    .orhc-table th,
    .orhc-table td {
        padding: 8px 4px;
    }
    
    #orhc-login-form input[type="text"],
    #orhc-dashboard input[type="text"],
    #orhc-dashboard input[type="datetime-local"],
    #orhc-dashboard select,
    #orhc-dashboard textarea,
    #orhc-dashboard input[type="file"] {
        max-width: 100%;
    }
}

/* Status badges */
.status-pending {
    background: #f39c12;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
}

.status-in_progress {
    background: #3498db;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
}

.status-completed {
    background: #27ae60;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
}