@font-face {
    font-family: 'Gilroy';
    src: url('{{ url_for('static', filename='fonts/Gilroy-Regular.ttf') }}') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('{{ url_for('static', filename='fonts/Gilroy-Bold.ttf') }}') format('truetype');
    font-weight: bold;
    font-style: normal;
}


.box {
    border: 1px solid #ccc;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color:#FFFFFF; /* Set the background color of the boxes to #111C44 */
    flex: 1; /* Equal flex values to make both boxes the same width */
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #000000; /* Ensure text is readable on the dark background */
}

.box ul {
    list-style-type: none; /* Remove default bullets */
    padding-left: 0;
    text-align: left; /* Ensure text is left-justified */
}

.box ul li {
    position: relative;
    padding-left: 30px; /* Adjust this value to create space for the image */
    font-size: 16px; /* Ensure this matches your font size */
    text-align: left; /* Ensure each list item text is left-justified */
}

.box ul li.tick::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px; /* Match this to your font size */
    height: 16px; /* Match this to your font size */
    background: url('/static/images/Tick-T.png') no-repeat center center;
    background-size: contain;
}

.box ul li.cross::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px; /* Match this to your font size */
    height: 16px; /* Match this to your font size */
    background: url('/static/images/Cross-T.png') no-repeat center center;
    background-size: contain;
}

.box:last-child {
    margin-right: 0;
}

.form-field {
    margin-top: 10px;
}

.form-field label {
    display: block;
    margin-bottom: 5px;
}

.form-field input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-field input[type="submit"] {
    background-color: #14F195;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.form-field input[type="submit"]:hover {
    background-color: #0e86c9;
}
.btn-save {
    background-color: #14F195;  /* Matches the green color used in your login link */
    color: white;
    border: none;
    padding: 12px 24px;  /* Adjust padding for larger button size */
    border-radius: 5px;
    font-size: 18px;  /* Increase font size for readability */
    font-family: 'Gilroy', Arial, sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;  /* Add smooth transitions */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);  /* Slight shadow for depth */
}

.btn-save:hover {
    background-color: #0e86c9;  /* Darken the color on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);  /* Enhance shadow on hover */
}

.chat-box .user-message {
    text-align: right;
    color: #fff;
    background-color: #007bff; /* User message background color */
    display: inline-block;
    padding: 10px;
    border-radius: 15px;
}

.chat-box .ai-message {
    text-align: left;
    color: #333;
    background-color: #e9ecef; /* AI message background color */
    display: inline-block;
    padding: 10px;
    border-radius: 15px;
}

/* Form Styles */
.chat-form .form-group {
    display: flex;
}

.chat-form .form-control {
    flex: 1;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.chat-form .btn {
    padding: 10px 20px;
    border: none;
    background-color: #476685; /* Replace with geekpay.io's button color */
    color: #fff;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
}

.chat-form .btn:hover {
    background-color: #622ba7; /* Adjust hover color */
}

/* Floating Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 600px;
    max-width: 100%;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: height 0.3s ease-in-out, box-shadow 0.3s ease;
    z-index: 1000;
    height: 400px; /* Initial height */
    display: flex;
    flex-direction: column;
}

/* Collapsed state */
.chat-widget.collapsed {
    height: 50px; /* Height of header only */
    box-shadow: none;
}

/* Chat Header */
.chat-header {
    background-color: #622ba7;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    cursor: pointer;
}

.chat-toggle-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    outline: none;
}

/* Chat Box */
.chat-box {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #f1f1f1;
}



.message {
    padding: 10px 15px;
    border-radius: 10px;
    max-width: 80%;
    word-wrap: break-word;
}

.user-message {
    background-color: #d1e7dd;
    align-self: flex-end;
}

.ai-message {
    background-color: #f8d7da;
    align-self: flex-start;
}

/* Chat Form */
.chat-form {
    padding: 10px;
    border-top: 1px solid #ddd;
    display: flex;
}

.form-control {
    flex-grow: 1;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid #ddd;
}

.btn-primary {
    margin-left: 10px;
    padding: 0 15px;
    border-radius: 20px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.plans-section {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.plans-section .box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align items to the start */
    margin-right: 20px;
    text-align: center;
}

.plans-section .box:last-child {
    margin-right: 0;
}

.purchase-container {
    margin-top: auto; /* Push the button to the bottom of the container */
}

.purchase-button {
    background-color: #1bd879; /* Green background */
    color: rgb(236, 233, 243); /* Light text color */
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    width: 100%; /* Make the button span the width of the box */
    display: block; /* Ensure the button is displayed as a block element */
    text-decoration: none; /* Remove underline from link */
    box-sizing: border-box; /* Ensure padding and border are included in the element's total width and height */
}

.purchase-button:hover {
    background-color: #0e86c9; /* Darker blue on hover */
}

.plans-section h3 {
    font-family: 'Gilroy', Arial, sans-serif;
    font-size: 20px;
    margin-bottom: 10px;
}

.plans-section p {
    font-size: 16px;
}

.box {
    border: 1px solid #ccc;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #476685; /* Set the background color of the boxes to #111C44 */
    flex: 1; /* Equal flex values to make both boxes the same width */
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white; /* Ensure text is readable on the dark background */
}

.box ul {
    list-style-type: none; /* Remove default bullets */
    padding-left: 0;
    text-align: left; /* Ensure text is left-justified */
}

.box ul li {
    position: relative;
    padding-left: 30px; /* Adjust this value to create space for the image */
    font-size: 16px; /* Ensure this matches your font size */
    text-align: left; /* Ensure each list item text is left-justified */
}

.box ul li.tick::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px; /* Match this to your font size */
    height: 16px; /* Match this to your font size */
    background: url('{{ url_for('static', filename='images/Tick-T.png') }}') no-repeat center center;
    background-size: contain;
}

.box ul li.cross::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px; /* Match this to your font size */
    height: 16px; /* Match this to your font size */
    background: url('{{ url_for('static', filename='images/Cross-T.png') }}') no-repeat center center;
    background-size: contain;
}

.box:last-child {
    margin-right: 0;
}

.correct-answer, .incorrect-answer {
    display: block; /* Make the answers block elements */
    padding: 10px; /* Add some padding for better appearance */
    margin: 5px 0; /* Space between answers */
}

.correct-answer {
    background-color: #d4edda; /* Light green background */
    color: #155724; /* Dark green text */
}

.incorrect-answer {
    background-color: #f8d7da; /* Light red background */
    color: #721c24; /* Dark red text */
}


.breach-success {
    background-color: #118d62; /* Set the background color to green */
    color: white;            /* Set the text color to white */
    background-color: white; /* or any default background color */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Example box shadow */
    margin-bottom: 1.5rem; /* Adjust as per your spacing preference */
    padding: 1rem; /* Adjust as per your spacing preference */
    border: 1px solid #ccc; /* Adjust the border color */
    border-radius: 0.25rem; /* Adjust the radius as needed */
    background-color: #118d62; /* Example green color, change as needed */
    color: white; /* Change text color to white for better visibility */
}

.breach-success th, /* Target table headers */
.breach-success td { /* Target table cells */
    padding: 10px;  /* Optional: add padding for better spacing */
    text-align: left; /* Optional: set text alignment */
}

/* Optional: Style for hover effect */
.breach-success tr:hover {
    background-color: darkgreen; /* Darker green on hover */
    margin-bottom: 1.5rem; /* Equivalent to mb-4 */
    padding: 1rem;         /* Equivalent to p-3 */
    border: 1px solid #dee2e6; /* Equivalent to border */
    border-radius: 0.25rem; /* Equivalent to rounded */
}

.bg-green {
    background-color: #118d62; /* Set the background color to green */
}

.video-number {
    position: absolute;
    top: -10px; /* Adjust as needed */
    left: -10px; /* Adjust as needed */
    width: 30px; /* Circle width */
    height: 30px; /* Circle height */
    background-color: #007bff; /* Circle color */
    color: white; /* Text color */
    border-radius: 50%; /* Make it circular */
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1rem; /* Adjust font size as needed */
}

.play-button {
    display: flex; /* Make the button a flex container */
    align-items: center; /* Center items vertically */
}

.play-icon {
    width: 0; 
    height: 0; 
    border-left: 8px solid white; /* Create a triangle */
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    margin-right: 5px; /* Space between triangle and text */
}