.resuve-verification-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}
.resuve-verification-form label {
    display: inline-block;
    margin-right: 10px;
}
.resuve-verification-form input[type="text"] {
    padding: 5px;
    width: 200px;
    margin-bottom: 10px;
    display: inline-block;
}
.resuve-submit {
    padding: 10px 20px;
    background-color: #0073aa;
    color: white;
    border: none;
    cursor: pointer;
}
.resuve-certificate {
    max-width: 700px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ccc;
    position: relative;
    text-align: left;
    background: url('') no-repeat center;
    background-size: contain;
}
.logo-section {
    width: 150px;
    height: 100px;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.university-name {
    text-align: center;
    margin: 100px 0 10px; /* Increased from 80px to 120px for more gap */
    font-size: 24px;
}
.university-address {
    text-align: center;
    margin: 0 0 20px;
    font-size: 14px;
    color: #666;
}
.watermark {
    position: absolute;
    top: 250px;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    width: 200px;
    height: 200px;
    opacity: 0.1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
}
.graduate-verification {
    position: relative;
    z-index: 1;
}
.graduate-verification h4 {
    margin: 0;
    font-size: 18px;
    color: #666;
}
.graduate-verification table {
    width: 100%;
    margin: 10px 0;
    border-collapse: collapse;
    position: relative;
}
.graduate-verification td {
    padding: 5px;
    border: 1px solid #ddd;
}


.result-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}
.result-table td {
    padding: 5px;
    border: 1px solid #ddd;
}

/* NEW: Simple horizontal scroll for mobile - Start */
@media screen and (max-width: 768px) {
    .result-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .result-table td {
        white-space: normal;
        min-width: 150px;
    }
    
    /* Make sure the note column has enough width */
    .result-table td:last-child {
        min-width: 250px;
    }
}
/* NEW: Simple horizontal scroll for mobile - End */


button {
    display: block;
    margin: 10px auto;
    padding: 10px 20px;
    background-color: #0073aa;
    color: white;
    border: none;
    cursor: pointer;
}

    @media print {
        /* Hide page background */
        body, .site, .site-content, .entry-content, .page-wrapper {
            background: white !important;
        }
        
        /* Only show the result area */
        .graduate-verification, .result-table, #printableArea {
            background: white !important;
            color: black !important;
        }
        
        /* Hide everything else */
        header, footer, nav, sidebar, form, post, .menu, .widget-area, 
        button, .button, .print-btn, .form .post
        .site-header, .site-footer, .navigation .popup-cart, .minicart, .canvas-cart, .woo-cart-popup, .element-cart {
            display: none !important;
        }
        
        /* Force white background on all elements */
        * {
            background-color: white !important;
            color: black !important;
            -webkit-print-color-adjust: exact !important;
            print-color-adjust: exact !important;
        }
        
        /* Ensure table cells have borders */
        td, th {
            border: 1px solid black !important;
        }
    }
    
    .print-btn {
        background: #4CAF50;
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }
    
    
/* NEW: Hide print button on mobile screens - Start */

/* Hide print button on screens smaller than 768px (tablets & phones) */
@media screen and (max-width: 768px) {
    .print-btn {
        display: none !important;
    }
}

/* Optional: Also hide any other print-related buttons if needed */
@media screen and (max-width: 768px) {
    button.print-btn,
    input.print-btn,
    .resuve-submit.print-btn {
        display: none !important;
    }
}

/* NEW: Hide print button on mobile screens - End */
    
    
/* NEW: Mobile responsive styles for existing classes - Start */

/* For screens smaller than 768px (tablets & phones) */
@media screen and (max-width: 768px) {
    
    /* Make certificate container full width on mobile */
    .resuve-certificate {
        max-width: 95%;
        padding: 15px;
        margin: 10px auto;
    }
    
    /* Adjust logo section position on mobile */
    .logo-section {
        width: 100px;
        height: 70px;
        position: relative;
        left: auto;
        transform: none;
        margin: 0 auto 15px auto;
    }
    
    /* Reduce top margin on mobile */
    .university-name {
        margin: 20px 0 10px;
        font-size: 20px;
    }
    
    /* Smaller address font on mobile */
    .university-address {
        font-size: 11px;
        margin: 0 0 15px;
    }
    
    /* Make watermark smaller on mobile */
    .watermark {
        width: 150px;
        height: 150px;
        top: 200px;
    }
    
    /* Make tables scrollable horizontally on mobile */
    .graduate-verification {
        overflow-x: auto;
        display: block;
    }
    
    .graduate-verification table {
        width: 100%;
        min-width: 500px;
    }
    
    .result-table {
        min-width: 300px;
    }
    
    /* Smaller table cells on mobile */
    .graduate-verification td {
        padding: 8px;
        font-size: 12px;
    }
    
    .result-table td {
        padding: 8px;
        font-size: 12px;
    }
    
    /* Make form full width on mobile */
    .resuve-verification-form {
        max-width: 100%;
        padding: 15px;
    }
    
    /* Stack form elements vertically on mobile */
    .resuve-verification-form label {
        display: block;
        margin-right: 0;
        margin-bottom: 5px;
        text-align: left;
    }
    
    .resuve-verification-form input[type="text"] {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Full width buttons on mobile */
    .resuve-submit, button, .print-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}

/* For very small screens (below 480px) */
@media screen and (max-width: 480px) {
    
    .university-name {
        font-size: 18px;
        margin: 15px 0 8px;
    }
    
    .university-address {
        font-size: 10px;
    }
    
    .graduate-verification h4 {
        font-size: 16px;
    }
    
    .graduate-verification td, 
    .result-table td {
        padding: 6px;
        font-size: 11px;
    }
    
    .watermark {
        width: 120px;
        height: 120px;
        top: 180px;
    }
}

/* NEW: Mobile responsive styles for existing classes - End */
