/* Student Result Plugin - Frontend Styles */

.srp-combined-container {
    width: 100%;
}

.srp-search-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.srp-search-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #000;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.srp-search-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.srp-form-group {
    display: flex;
    flex-direction: column;
}

.srp-form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.srp-input,
.srp-select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    width: 100%;
    background: #fff;
    transition: border-color 0.3s;
}

.srp-input:focus,
.srp-select:focus {
    outline: none;
    border-color: #ff6600;
}

.srp-submit-btn {
    background: #ff6600;
    color: #fff;
    padding: 14px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
    width: 100%;
}

.srp-submit-btn:hover {
    background: #e55a00;
}

.srp-submit-btn:active {
    transform: scale(0.98);
}

.srp-error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
    border: 1px solid #f5c6cb;
}

.srp-result-container {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.srp-result-display {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.srp-college-logo {
    text-align: center;
    margin-bottom: 20px;
}

.srp-college-logo img {
    max-width: 200px;
    height: auto;
}

.srp-college-name {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #ff6600;
    margin: 20px 0 10px;
}

.srp-college-city {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.srp-result-header {
    text-align: center;
    margin: 30px 0;
}

.srp-result-header h2 {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.srp-student-photo-section {
    text-align: center;
    margin: 20px 0;
}

.srp-student-photo img {
    max-width: 150px;
    height: auto;
    border-radius: 8px;
    border: 3px solid #ddd;
}

.srp-student-info {
    margin: 30px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 6px;
}

.srp-info-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.srp-info-row:last-child {
    border-bottom: none;
}

.srp-info-label {
    font-weight: 600;
    width: 200px;
    color: #333;
}

.srp-info-value {
    flex: 1;
    color: #666;
}

.srp-subjects-table {
    margin: 30px 0;
    overflow-x: auto;
}

.srp-subjects-table h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.srp-subjects-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.srp-subjects-table th {
    background: #ff6600;
    color: #fff;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.srp-subjects-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.srp-subjects-table tbody tr:hover {
    background: #f9f9f9;
}

.srp-subjects-table tfoot .srp-grand-total {
    background: #f0f0f0;
    font-weight: bold;
}

.srp-subjects-table tfoot .srp-grand-total td {
    border-top: 2px solid #ff6600;
    padding: 15px 12px;
}

.srp-result-summary {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 6px;
    text-align: center;
}

.srp-summary-row {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.srp-summary-label {
    margin-right: 10px;
}

.srp-summary-value {
    color: #ff6600;
}

@media print {
    .srp-search-container {
        display: none;
    }
    
    .srp-result-display {
        box-shadow: none;
    }
}

@media (max-width: 768px) {
    .srp-search-container,
    .srp-result-display {
        margin: 20px;
        padding: 20px;
    }
    
    .srp-info-row {
        flex-direction: column;
    }
    
    .srp-info-label {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .srp-subjects-table {
        font-size: 14px;
    }
}

