.pg-header {
    background-image: url('images/Slider-Whistleblowing.jpg');
}
/* Whistleblowing Channel Section */
.channel-section {
    padding: 0;
    background-color: #fff;
}

/* Add container class */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem;
}

/* Update channel title to be inside container */
.channel-title {
    color: #e94724;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    width: 100%;
}

.whistleblowing-form {
    width: 100%;
    margin: 0 auto;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    margin-top: 8px;
    color: #555;
    font-size: 14px;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    background-color: #f8f9ff;
    height: 45px;
    margin-top: 0;
}

.form-group input::placeholder {
    display: none;
}

.button-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
}

.submit-form {
    background: #00bcd4;
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 400;
    font-size: 16px;
    transition: background-color 0.3s;
}

.policy-link {
    color: #ff4b33;
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
}

/* Add styles for the comments section */
.comments-section {
    margin-top: 1.5rem;  /* Match the gap of form-column */
}

/* Add these new styles for the side-by-side layout */
.form-group-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* Adjust textarea height to match the layout */
textarea {
    height: 100px;  /* Adjust this value as needed */
    resize: vertical;
}

/* Add this new style for side by side fields */
.side-by-side-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.side-by-side-fields .form-group {
    margin: 0;
}

.side-by-side-fields textarea {
    height: 38px; /* Match the height of the input field */
    resize: none;
}

/* Add these new styles and remove previous side-by-side styles */
.last-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.evidence-field {
    flex: 1;
}

.comments-field {
    flex: 1;
}

.evidence-field input,
.comments-field textarea {
    width: 100%;
    height: 100px;  /* Make both fields the same height */
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 0.5rem;
}

.comments-field textarea {
    resize: none;  /* Prevent textarea resizing */
}

/* Remove any previous side-by-side-fields styles */

/* Update the textarea styling */
.form-group textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    margin-top: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    resize: vertical;
}

/* Update the last-fields to handle single evidence field */
.last-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.evidence-field input {
    width: 100%;
    height: 45px; /* Match other input fields height */
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-weight: 300;  /* Match other input fields */
    font-size: 14px;
    background-color: #f8f9ff;
    margin-top: 0;
    color: #333;  /* Match other input text color */
}

.evidence-field label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-size: 14px;
    font-weight: 600;
}

/* Update form container and layout */
.form-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 3rem
}

/* Update form grid layout */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 20px;
}

/* Remove individual column backgrounds */
.form-column {
    width: 100%;
    padding: 0;
}

/* Update form group spacing */
.form-group {
    margin-bottom: 15px;
}

/* Update input fields styling */
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px 12px;
    margin-top: 4px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-weight: 300;
    font-size: 14px;
    background-color: #f8f9ff;
}

/* Update radio groups */
.radio-group {
    display: flex;
    gap: 1rem;
    margin-top: 4px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 300;
    font-size: 14px;
}

/* Update form info box */
.form-info {
    background-color: transparent;
    padding: 0;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    font-weight: 600;
}

/* Update file upload and buttons */
.form-actions {
    margin-top: 15px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.submit-form {
    background: #00bcd4;
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 400;
    font-size: 16px;
    transition: background-color 0.3s;
}

.submit-form:hover {
    background: #00a5bb;
}

.policy-link {
    background: #e94724;
    color: white;
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    padding: 12px 25px;
    border-radius: 25px;
    transition: background-color 0.3s;
}

.policy-link:hover {
    background: #e63e29;
}

/* Update channel section background */
.channel-section {
    background-color: #f2f3f3;
}

/* Update textarea height */
.form-group textarea {
    min-height: 100px;
}

/* Update select dropdowns */
select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 1em;
}

/* Add hover effects */
input:hover, select:hover, textarea:hover {
    border-color: #00bcd4;
}

/* Add focus effects */
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #00bcd4;
    box-shadow: 0 0 0 2px rgba(0, 188, 212, 0.1);
}

/* Update file upload text */
.file-upload span {
    font-weight: 300;
    font-size: 14px;
}

/* Update placeholder styles */
.form-group input::placeholder {
    color: #999;
    font-size: 14px;
}

/* Remove the margin-top from inputs since we're controlling spacing with label margin */
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group select {
    margin-top: 0;
}

/* Add these styles for the identify fields section */
.identify-fields {
    display: flex;
    flex-direction: column;
    gap: 7px; /* This adds spacing between input fields */
}

.input-field {
    width: 100%;
}

.input-field label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-size: 14px;
    font-weight: 600;
}

.input-field input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    background-color: #f8f9ff;
    height: 45px;
}

/* Update file upload styles */
.file-upload-wrapper {
    margin-top: 15px;
}

.file-upload {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 15px;
}

.file-upload > div:first-child {
    flex-basis: 100%;
    display: flex;
    flex-direction: column;
}

.file-upload > div:last-child {
    flex-basis: auto;
}

input[type="file"] {
	height: 0;
	opacity: 0;
	padding: 0;
}

.file-upload .file-text {
    width: 100%;
    height: 45px;
    padding: 8px 12px;
    margin: 0;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    background-color: #f8f9ff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.file-upload label.upload-btn {
    background: #e94724;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.upload-btn:hover {
    background: #e94724;
}

/* Update select and date input styles */
.form-group select,
.form-group input[type="date"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-weight: 300;
    font-size: 14px;
    background-color: #f8f9ff;
    color: #555;  /* Add this to match other text */
}

/* Update select placeholder color */
.form-group select option {
    color: #555;
}

/* Update date input placeholder */
.form-group input[type="date"]::placeholder {
    color: #555;
}

/* Style the date input when empty */
.form-group input[type="date"]:invalid {
    color: #555;
}

/* Style the select placeholder */
.form-group select:invalid,
.form-group select option[value=""] {
    color: #555;
}

/* Modal styles */
#policyModal.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: none;
    align-items: center;
    justify-content: center;
}

#policyModal.modal.show {
    display: flex;
    opacity: 1;
}

#policyModal .modal-content {
    background-color: #fff;
    width: 800px;  /* Increased width */
    max-width: 90%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    margin: 0;
    display: flex;
    flex-direction: column;
}

#policyModal.modal.show .modal-content {
    transform: translateY(0);
}

#policyModal .modal-header {
    padding: 0.8rem 2rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f0f6ff;
    border-radius: 8px 8px 0 0;
    flex-shrink: 0; /* Prevent header from shrinking */
}

#policyModal .modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

#policyModal .modal-body {
    padding: 1.5rem 2rem;
    flex: 1;
    overflow-y: auto;
}

#policyModal .modal-body h3 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 20px 0 10px;
}

#policyModal .modal-body h3:first-child {
    margin-top: 0;
}

#policyModal .modal-body p {
    color: #333;
    line-height: 1.5;
    margin-bottom: 1rem;
}

#policyModal .modal-body p b {
    display: block;
    margin-bottom: 0.5rem;
}

#policyModal .close, #tipsModal .close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

#policyModal .close:hover, #tipsModal .close:hover {
    color: #555;
}

/* Update the tips link container styles */
.row.justify-content-end {
    display: flex;
    justify-content: flex-end;
    margin-right: 1rem;  /* Match the form container padding */
    margin-bottom: 1rem;
}

.tips-link {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1rem;  /* Add some right margin */
}

.tips-link i {
    font-size: 1.2rem;
    color: #e94724;  /* Match the theme color */
}

.tips-link:hover {
    color: #e94724;
    text-decoration: none;
}

/* Update modal styles to include tips modal */
#tipsModal.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#tipsModal.modal.show {
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#tipsModal .modal-content {
    background-color: #fff;
    width: 800px;
    max-width: 90%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    margin: 0;
}

#tipsModal.modal.show .modal-content {
    transform: translateY(0);
}

#tipsModal .modal-header {
    padding: 0.8rem 2rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f0f6ff;
    border-radius: 8px 8px 0 0;
}

#tipsModal .modal-body {
    padding: 1.5rem 2rem;
}

#tipsModal .modal-body ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

#tipsModal .modal-body li {
    margin-bottom: 0.5rem;
    color: #333;
    line-height: 1.5;
}

#tipsModal .modal-body p {
    margin-bottom: 1rem;
}

#tipsModal .modal-body p b {
    color: #333;
}

#loading {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.5);
	z-index: 100;
	display: none;
}
.spinner {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 60px;
	height: 60px;
	background: url(images/loading.gif) no-repeat center/cover;
}

/* Modal display states */
#success.modal,
#failed.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#success.modal.show,
#failed.modal.show {
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Success and Failed Modal Styles */
#success .modal-content,
#failed .modal-content {
    width: 500px;
    border-radius: 8px;
    transform: scale(0.7);
    transition: transform 0.3s ease;
    background-color: #fff;
    overflow: hidden;
}

/* Animation for modal content */
#success.modal.show .modal-content,
#failed.modal.show .modal-content {
    transform: scale(1);
}

#success .modal-header,
#failed .modal-header {
    border: none;
    padding: 1rem;
    background-color: #f0f6ff;
    position: relative;
}

#success .modal-header .close,
#failed .modal-header .close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.5rem 1rem;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

#success .modal-body,
#failed .modal-body {
    display: flex;
    align-items: center;
    padding: 2rem 1rem;
}

#success .modal-body .modal-icon,
#failed .modal-body .modal-icon {
    margin-right: 1rem;
}

#success .modal-body .modal-icon i {
    color: #4CAF50;
}

#failed .modal-body .modal-icon i {
    color: #F44336;
}

#success .modal-body p,
#failed .modal-body p {
    margin: 5px 0;
    font-size: 14px;
}

#success .modal-body p:first-of-type,
#failed .modal-body p:first-of-type {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
}

#success .modal-body p:first-of-type {
    color: #4CAF50;
}

#failed .modal-body p:first-of-type {
    color: #F44336;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
        padding: 5rem 4rem;
    }

    #policyModal .modal-content, #tipsModal .modal-content {
        width: 700px;
    }

    .row.justify-content-end {
        margin-right: 2rem;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 960px;
        padding: 4rem 3rem;
    }

    .channel-title {
        font-size: 2.5rem;
    }

    .form-container {
        padding: 1.5rem;
    }

    .file-upload {
        flex-wrap: wrap;
    }

    .file-upload > div:last-child {
        flex-basis: 100%;
    }

    .file-upload label.upload-btn {
        width: 100%;
        height: 35px;
    }

    #policyModal .modal-content, #tipsModal .modal-content {
        width: 600px;
    }

    #policyModal .modal-header h2, #tipsModal .modal-header h2 {
        font-size: 1.3rem;
    }

    #policyModal .modal-body, #tipsModal .modal-body {
        padding: 1.2rem 1.8rem;
    }

    .row.justify-content-end {
        margin-right: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 720px;
        padding: 3rem 2rem;
    }

    .channel-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .form-container {
        padding: 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    #policyModal .modal-content, #tipsModal .modal-content {
        width: 90%;
        margin: 0 20px;
    }

    #policyModal .modal-header, #tipsModal .modal-header {
        padding: 0.6rem 1.5rem;
    }

    #policyModal .modal-body, #tipsModal .modal-body {
        padding: 1rem 1.5rem;
    }

    #policyModal .modal-body li, #tipsModal .modal-body li {
        font-size: 0.95rem;
    }

    .row.justify-content-end {
        margin-right: 1rem;
    }

    .tips-link {
        font-size: 0.9rem;
    }

    .tips-link i {
        font-size: 1.1rem;
    }

    #policyModal .close, #tipsModal .close {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 540px;
        padding: 2rem 1.5rem;
    }

    .channel-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    #policyModal .modal-content, #tipsModal .modal-content {
        width: 95%;
        margin: 0 10px;
    }

    #policyModal .modal-header, #tipsModal .modal-header {
        padding: 0.5rem 1.2rem;
    }

    #policyModal .modal-header h2, #tipsModal .modal-header h2 {
        font-size: 1.2rem;
    }

    #policyModal .modal-body, #tipsModal .modal-body {
        padding: 1rem 1.2rem;
    }

    #policyModal .modal-body li, #tipsModal .modal-body li {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .row.justify-content-end {
        margin-right: 0.5rem;
    }

    .tips-link {
        font-size: 0.85rem;
    }

    .tips-link i {
        font-size: 1rem;
    }

    #policyModal .close, #tipsModal .close {
        font-size: 24px;
    }
}