﻿body {
}

/* Global Form Styling */
.salary-calculator {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: auto;
}

    .salary-calculator h3 {
        font-family: 'Poppins', sans-serif;
        font-weight: bold;
        color: #333;
    }

    .salary-calculator .form-label {
        font-weight: 600;
        color: #555;
    }

    .salary-calculator .form-group {
        position: relative;
    }

    .salary-calculator .required {
        color: red;
    }

    .salary-calculator .form-select {
        border-radius: 8px;
        border: 1px solid #ccc;
        font-size: 16px;
        padding: 8px 12px;
        outline: none;
        transition: border-color 0.2s ease;
    }

        .salary-calculator .form-select:focus {
            border-color: #007bff;
            box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
        }

    .salary-calculator .form-check {
        margin-bottom: 10px;
    }

    .salary-calculator .form-check-input {
        margin-right: 10px;
        accent-color: #007bff;
    }

    .salary-calculator .text-danger {
        font-size: 0.9em;
    }

    /* Button Styling */
    .salary-calculator .btn-primary {
        background-color: #007bff;
        border: none;
        border-radius: 8px;
        padding: 12px 20px;
        font-size: 18px;
        font-weight: bold;
        transition: background-color 0.3s ease;
    }

        .salary-calculator .btn-primary:hover {
            background-color: #0056b3;
            cursor: pointer;
        }

    /* Dropdown-specific Styling */
    .salary-calculator .form-select option:first-child {
        color: #999;
    }


/* Lightbox Overlay */
#salaryOverlay {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark background with opacity */
    z-index: 9999; /* Ensure it's above other content */
    /* Flexbox for centering */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    overflow-y: auto; /* Enable scrolling for overflow content */
    padding: 20px; /* Add padding for spacing on smaller screens */
    box-sizing: border-box;
}

/* Lightbox Modal */
#salaryModal {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    padding: 20px 30px;
    width: 90%;
    max-width: 600px; /* Ensure it doesn't get too wide */
    text-align: center;
    font-family: Arial, sans-serif;
    animation: fadeIn 0.3s ease-in-out; /* Add fade-in animation */
    box-sizing: border-box;
}

/* Table Styling */
.salary-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.95em;
    text-align: left;
}

    .salary-table th,
    .salary-table td {
        padding: 12px;
        border: 1px solid #ddd; /* Add borders for better readability */
    }

    .salary-table th {
        background-color: #007bff;
        color: white;
        font-weight: bold;
        text-align: center;
    }

    .salary-table .total-row td {
        font-weight: bold;
        background-color: #e9f7fe;
        text-align: center;
    }

/* Title Styling */
.salary-title {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.salary-hike {
    width: 100%;
    background-color: #fffcf5;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

    .salary-hike h4 {
        font-size: 1.3em;
        color: #333;
        margin-bottom: 10px;
    }

    .salary-hike p {
        font-size: 1em;
        color: #555;
    }

    .salary-hike .hike-amount {
        font-size: 1.8em;
        color: #26c400;
        font-weight: bold;
    }
/* Styling the social share container */
.social-share-container {
    padding: 20px;
    text-align: center;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
}

    .social-share-container p {
        font-size: 1.1em;
        margin-bottom: 10px;
        font-weight: bold;
        color: #333;
    }

/* Social button styles */
.social-buttons a {
    text-decoration: none;
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    color: white;
    font-size: 1em;
    transition: all 0.3s ease;
}

/* WhatsApp Button */
.social-btn.whatsapp {
    background-color: #25D366; /* WhatsApp color */
}

    .social-btn.whatsapp:hover {
        background-color: #128C7E;
    }

/* Telegram Button */
.social-btn.telegram {
    background-color: #0088cc; /* Telegram color */
}

    .social-btn.telegram:hover {
        background-color: #006994;
    }

/* Icons for social buttons */
.social-btn i {
    margin-right: 8px;
}

/* Additional styling */
.social-btn:hover {
    transform: scale(1.1);
}



.additional-info {
    margin-top: 20px; /* Add spacing above the section */
    padding: 15px; /* Add inner spacing */
    background-color: #f9f9f9; /* Light background for contrast */
    border: 1px solid #ddd; /* Subtle border */
    border-radius: 8px; /* Rounded corners */
    font-size: 0.95rem; /* Slightly smaller text for additional info */
    color: #333; /* Neutral text color for readability */
    line-height: 1.5; /* Better spacing between lines */
    text-align: justify;
}

    .additional-info strong {
        color: #0056b3; /* Highlight key information with a blue color */
    }

    .additional-info p {
        margin: 0 0 10px; /* Space between paragraphs */
    }


/* Close Button */
#closeButton {
    margin-top: 20px;
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

    #closeButton:hover {
        background-color: #0056b3;
    }

/* Responsive Design */
@media (max-width: 768px) {
    #salaryModal {
        width: 100%; /* Full width for small screens */
        max-width: none; /* Remove max-width restriction */
    }

    .salary-table th,
    .salary-table td {
        font-size: 0.85em; /* Slightly smaller font size for compact view */
    }
}

/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* Full-page overlay */
#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    z-index: 9999; /* High z-index to overlay everything */
    display: none; /* Initially hidden */
}

/* Centered loading spinner */
#loadingSpinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

    /* Text below spinner */
    #loadingSpinner p {
        margin-top: 10px;
        font-size: 1.2em;
        color: #fff;
    }

.social-btn.share-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .social-btn.share-btn:hover {
        background-color: #45a049;
    }

    .social-btn.share-btn i {
        margin-right: 8px;
    }
/* Highlighted Text Style */
.highlight-text {
    color: #d9534f; /* Red for emphasis */
    font-weight: bold; /* Bold text */
    font-size: 1.1em; /* Slightly larger font size */
    background-color: #fff3cd; /* Light yellow background */
    padding: 5px 10px; /* Padding around the text */
    border: 1px solid #ffeeba; /* Border matching the background */
    border-radius: 4px; /* Rounded corners */
    display: inline-block; /* Ensure padding is applied properly */
    margin-top: 10px; /* Add spacing from the dropdown */
}
