/* D.Pharm Admission System - Public Styles */

.dpharm-admission-form-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* College Header */
.dpharm-college-header {
    text-align: center;
    border-bottom: 3px double #003366;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.dpharm-college-logo img {
    max-height: 100px;
    margin-bottom: 10px;
}

.dpharm-college-name {
    font-size: 28px;
    color: #003366;
    margin: 0 0 5px 0;
    font-weight: bold;
}

.dpharm-college-affiliation {
    font-size: 16px;
    color: #666;
    margin: 0 0 10px 0;
}

.dpharm-form-title {
    font-size: 22px;
    color: #0066cc;
    margin: 10px 0;
}

.dpharm-academic-session {
    font-size: 18px;
    color: #333;
    font-weight: bold;
    margin: 5px 0;
}

/* Form Instructions */
.dpharm-form-instructions {
    background: #f8f9fa;
    border-left: 4px solid #0066cc;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.dpharm-form-instructions h3 {
    margin-top: 0;
    color: #0066cc;
}

.dpharm-form-instructions ul {
    margin: 10px 0;
    padding-left: 20px;
}

.dpharm-form-instructions li {
    margin-bottom: 5px;
}

/* Form Sections */
.dpharm-form-section {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.dpharm-section-title {
    color: #003366;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 20px;
}

/* Form Layout */
.dpharm-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.dpharm-form-group {
    flex: 1;
    min-width: 250px;
}

.dpharm-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.dpharm-form-group input[type="text"],
.dpharm-form-group input[type="email"],
.dpharm-form-group input[type="tel"],
.dpharm-form-group input[type="date"],
.dpharm-form-group input[type="number"],
.dpharm-form-group select,
.dpharm-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.dpharm-form-group input:focus,
.dpharm-form-group select:focus,
.dpharm-form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 2px rgba(0,102,204,0.2);
}

.dpharm-form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

/* File Upload */
.dpharm-file-preview {
    margin-top: 10px;
}

.dpharm-file-preview img {
    max-width: 150px;
    max-height: 150px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
}

/* Checkbox */
.dpharm-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.dpharm-checkbox input[type="checkbox"] {
    margin-top: 3px;
}

/* Buttons */
.dpharm-form-actions {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.dpharm-btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    margin: 0 10px;
}

.dpharm-btn-primary {
    background: #0066cc;
    color: white;
}

.dpharm-btn-primary:hover {
    background: #0052a3;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.dpharm-btn-secondary {
    background: #6c757d;
    color: white;
}

.dpharm-btn-secondary:hover {
    background: #5a6268;
}

.dpharm-btn-danger {
    background: #dc3545;
    color: white;
}

.dpharm-btn-danger:hover {
    background: #c82333;
}

/* Alerts */
.dpharm-alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.dpharm-alert-success {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.dpharm-alert-error {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.dpharm-alert-info {
    background: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

/* Success Container */
.dpharm-success-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.dpharm-application-details {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    margin-top: 20px;
}

.dpharm-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.dpharm-detail-label {
    font-weight: 600;
    color: #333;
}

.dpharm-detail-value {
    color: #0066cc;
    font-weight: bold;
}

.dpharm-actions {
    margin-top: 30px;
    text-align: center;
}

.dpharm-btn-print {
    background: #28a745;
    color: white;
}

.dpharm-btn-print:hover {
    background: #218838;
}

.dpharm-instructions {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.dpharm-instructions h5 {
    margin-top: 0;
    color: #0066cc;
}

.dpharm-instructions ol {
    margin: 10px 0;
    padding-left: 20px;
}

/* Qualification Items */
.dpharm-qualification-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
}

.dpharm-qualification-item h4 {
    margin-top: 0;
    color: #0066cc;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

/* Additional qualification */
.additional-qual {
    position: relative;
    padding-right: 60px;
}

.remove-qualification {
    position: absolute;
    right: 10px;
    top: 10px;
    padding: 5px 10px;
    font-size: 12px;
}

/* Status Check Page */
.dpharm-status-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.dpharm-status-header {
    text-align: center;
    margin-bottom: 30px;
}

.dpharm-status-header h2 {
    color: #003366;
    margin-bottom: 10px;
}

.dpharm-status-form {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}

.dpharm-search-method {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 20px;
}

.dpharm-search-fields {
    margin-bottom: 20px;
}

.dpharm-status-results {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    margin-top: 20px;
}

.dpharm-status-found h3 {
    color: #0066cc;
    margin-top: 0;
}

.dpharm-status-card {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 20px;
    margin: 15px 0;
}

.dpharm-status-info {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
}

.dpharm-status-info p {
    margin: 5px 0;
}

.dpharm-status-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.dpharm-status-label {
    font-weight: 600;
    color: #333;
}

.dpharm-status-value {
    font-weight: bold;
}

.dpharm-status-note {
    margin-top: 20px;
    padding: 15px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
}

.dpharm-status-note h4 {
    margin-top: 0;
    color: #856404;
}

.dpharm-payment-instructions {
    margin-top: 20px;
    padding: 20px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
}

.dpharm-payment-instructions h4 {
    margin-top: 0;
    color: #155724;
}

.dpharm-payment-actions {
    margin-top: 15px;
}

.dpharm-status-not-found,
.dpharm-status-error {
    padding: 20px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    color: #721c24;
}

.dpharm-status-not-found h3,
.dpharm-status-error h3 {
    margin-top: 0;
}

.dpharm-status-instructions {
    margin-top: 30px;
    padding: 20px;
    background: #e7f3ff;
    border-radius: 8px;
}

.dpharm-status-instructions h3 {
    color: #0066cc;
    margin-top: 0;
}

.dpharm-status-instructions ul {
    margin: 10px 0;
    padding-left: 20px;
}

/* Status Badges */
.status-pending {
    color: #856404;
    background: #fff3cd;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.status-approved {
    color: #155724;
    background: #d4edda;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.status-rejected {
    color: #721c24;
    background: #f8d7da;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.status-payment-pending {
    color: #856404;
    background: #fff3cd;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.status-payment-received {
    color: #155724;
    background: #d4edda;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

/* Loading */
.dpharm-loading {
    text-align: center;
    padding: 30px;
    color: #0066cc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dpharm-form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .dpharm-form-group {
        min-width: 100%;
    }
    
    .dpharm-college-name {
        font-size: 24px;
    }
    
    .dpharm-form-title {
        font-size: 18px;
    }
    
    .dpharm-btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .dpharm-detail-row {
        flex-direction: column;
    }
    
    .dpharm-status-item {
        flex-direction: column;
    }
}

/* Additional Documents */
.dpharm-additional-docs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.dpharm-doc-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    transition: all 0.3s;
}

.dpharm-doc-item:hover {
    border-color: #0066cc;
    box-shadow: 0 2px 8px rgba(0,102,204,0.1);
}

.dpharm-doc-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

.dpharm-doc-link:hover {
    color: #0052a3;
}

.dpharm-doc-link .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

/* Print Section in Status */
.dpharm-print-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

/* Payment Details */
.dpharm-payment-details {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.qr-code-container {
    text-align: center;
    margin: 15px 0;
}

.qr-code-container img {
    max-width: 200px;
    border: 1px solid #ddd;
    padding: 10px;
    background: white;
    border-radius: 8px;
}