/* =============================================================
   Student Verification Plugin - Frontend Styles
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.sv-verification-wrap {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ---- Search Form ---- */
.sv-search-form-wrap {
    margin-bottom: 30px;
}

.sv-search-form {
    display: flex;
    gap: 15px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.sv-cert-input {
    flex: 1;
    padding: 12px 20px;
    font-size: 16px;
    border: 1px solid #e1e4e8;
    border-radius: 50px;
    outline: none;
    transition: border-color 0.3s ease;
}

.sv-cert-input:focus {
    border-color: #0b5e96;
}

.sv-verify-btn {
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #0b5e96;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.sv-verify-btn:hover {
    background-color: #084a77;
}

.sv-verify-btn:active {
    transform: scale(0.98);
}

.sv-verify-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* ---- Result Area ---- */
.sv-result-area {
    margin-top: 30px;
    animation: fadeIn 0.4s ease-out;
}

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

/* ---- Error Message ---- */
.sv-not-found-msg {
    background-color: #fff3cd;
    color: #856404;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    border: 1px solid #ffeeba;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* ---- Result Cards (Matching Image) ---- */
.sv-result-title {
    text-align: center;
    background: #0b5e96;
    color: #fff;
    padding: 15px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 25px;
}

.sv-data-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sv-data-card {
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.sv-data-card-header {
    background: #0b5e96;
    color: #fff;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sv-data-card-body {
    padding: 20px;
    font-size: 18px;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .sv-search-form {
        flex-direction: column;
    }
    
    .sv-verify-btn {
        width: 100%;
    }
    
    .sv-cert-input {
        width: 100%;
        box-sizing: border-box;
    }
}
