/* Reset some basic elements */
body,
h1,
h2,
p,
form,
input,
button {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.border-box {
    font-size: small;
    color: #555555;
    font-weight: 600;
    border: 1px solid black; /* 1px border */
    border-radius: 24px; /* 16dp rounded corners */
    padding-left: 7px; /* Padding for better text spacing */
    padding-right: 7px;
    padding-top: 3px;
    margin-left: -5px;
    padding-bottom: 3px;
    margin-bottom: 5px;
    width: fit-content; /* Adjusts width based on content */
    text-align: center; /* Center text */
}

.p-red {
    color: #dc3545;
    font-size: 22px;
    margin-bottom: 5px;
}

.pay-button {
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.ticket-icon-container {
    background-color: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 340px;
    margin: 20px auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    /* Align items vertically in the center */
}

.ticket-icon-text {
    display: flex;
    flex-direction: column;
    /* Stack icon and text vertically */
    align-items: center;
    /* Center the items horizontally */
}

.ticket-icon-text i {
    font-size: 24px;
    margin-bottom: 5px;
}

.ticket-icon-text p {
    margin: 0;
}


/* Body styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #e9ecef;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Container for content */
.container {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 460px;
    margin: 20px auto;
}

.text-center {
    justify-content: center;
    display: flex;
    justify-content: space-around;
}

.login-or {
    justify-content: center;
    display: flex;
    justify-content: space-around;
}


/* Header styles */
h4 {
    text-align: center;
    margin-bottom: 20px;
    color: #343a40;
    font-weight: 600;
}

/* Form group styling */
.form-group {
    margin-bottom: 20px;
}

/* Label styling */
label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #495057;
}

/* Input field styling */
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 16px;
    color: #495057;
}

/* Button styling */
button {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s, box-shadow 0.3s;
}

button:hover {
    background-color: #0056b3;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Error message styling */
.text-danger {
    color: #dc3545;
}

/* Custom Google Sign In Button */
.google-signin {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 5px;
    padding: 8px 16px;
    font-size: 14px;
    color: #202124;
    height: 45px;
    width: 100%;
    cursor: pointer;
    outline: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s, border-color 0.2s;
}

.google-signin:hover {
    background-color: #f8f9fa;
}

.google-signin:active {
    background-color: #f1f3f4;
}

.google-logo {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}


/* Event */
.event-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.event-card:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.event-card img {
    object-fit: cover;
    height: 170px;
    width: 100%;
}

.event-card .card-body {
    background-color: #f8f9fa;
}

.event-card .card-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.event-card .card-text {
    font-size: 1rem;
    color: #495057;
}

.event-card .event-meta {
    margin-top: 10px;
}

.event-card .event-meta strong {
    color: #007bff;
}

.navbar-custom {
    background-color: #007bff;
    color: white;
}
.navbar-logo {
    height: 50px;
    margin-right: 0px;
    vertical-align: middle;
}

.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
    color: white;
}

.navbar-custom .navbar-nav .nav-link {
    margin-left: 1rem;
}

/* Custom Google Sign In Button */

/* ticket design */
.ticket-container {
    width: 330px;
    background-color: rgb(254, 254, 254);
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

.ticket-container::before,
.ticket-container::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 25px;
    border-radius: 70%;
    background-color: rgba(250, 0, 0, 0);
    border: 10px solid #ddd;
    top: 73%;
    transform: translateY(-50%);
}

.ticket-container::before {
    left: -20px;
}

.ticket-container::after {
    right: -20px;
}

.ticket-header {
    margin: 12px 12px 12px 12px;
    font-size: 13px;
    height: 165px;
    display: flex;
    align-items: safe;
}

.ticket-body {
    margin-left: 12px;
    margin-right: 12px;
    margin-top: 15px;
    height: 140px;
    font-size: 13px;
    border-bottom: 2px dashed #000000;
}

.ticket-footer {
    margin-top: 7px;
    margin-left: 12px;
    margin-right: 12px;
    margin-bottom: 7px;
    font-size: 13px;
}

.ticket-footer {
    border: none;
}

.event-image {
    width: 110px;
    height: 160px;
    border-radius: 8px;
}

.user-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    margin-top: 0px;
}

.event-details {
    margin-left: 14px;
}

.event-details h1 {
    font-size: 18px;
}

.event-details-event-name {
    font-size: 18px;
    font-weight: bold;
    color: black;
    line-height: 1.2;
}

.event-details-event-time {
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px;
}

.event-details-event-address {
    font-size: 13px;
    font-weight: 500;
    color: #0060c6;
    text-decoration: none;
}

.event-details p {
    margin: 0px 0;
}

.ticket-body {
    display: flex;
    align-items: normal;
    justify-content: space-between;
    overflow: visible;
}

.user-info-details {
    display: flex;
    align-items: start;
    justify-content: space-between;
    overflow: hidden;
    flex-wrap: nowrap;
}

.user-details {
    font-size: 13px;
    margin-left: 7px;
    overflow: hidden;
    flex-wrap: wrap;
}

.user-details-name {
    font-size: 13px;
    color: black;
    font-weight: 600;
}

.card-a-hred {
    text-decoration: none;
}

.qr-code-p {
    font-size: 12px;
}

.qr-code img {
    width: 110px;
    height: 110px;
}

.ticket-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
}

.td-column {
    font-size: 13px;
}

.td-column-large {
    /* overflow-wrap: break-word;
    word-wrap: break-word;*/
    width: 50%;
    font-size: 12px;
    overflow-wrap: break-word; /* Break long words and wrap text */
    word-wrap: break-word; /* For compatibility with older browsers */
}

.fees p,
.txn-ref p {
    margin: 5px 0;
}

.fees span {
    float: right;
}

.paid-status {
    background-color: #e1f4e3;
    color: #28a745;
    padding: 5px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    width: 70px;
    font-size: 12px;
    line-height: 1.2;
}


.status-rectangle {
    position: absolute;
    top: 88%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-23deg);
    /* Center and rotate the rectangle */
    border: 3px solid green;
    /* Green border */
    background-color: transparent;
    /* No fill color */
    color: green;
    /* Green text color */
    padding: 3px 30px;
    border-radius: 8px;
    /* Rounded corners */
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 600;
    font-size: 13px;
    /* Adjust the size as needed */
}

.status-rectangle-red {
    position: absolute;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -100%) rotate(-23deg);
    /* Center and rotate the rectangle */
    border: 3px solid rgb(128, 0, 0);
    /* Green border */
    background-color: transparent;
    /* No fill color */
    color: rgb(128, 0, 0);
    /* Green text color */
    padding: 3px 30px;
    border-radius: 8px;
    /* Rounded corners */
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 600;
    font-size: 13px;
    /* Adjust the size as needed */
}

.status-rectangle .line {
    width: 100%;
    height: 2px;
    background-color: green;
    /* Green line */
    margin: 0px 0;
    /* Space between the text and line */
}

.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
}

.profile-container {
    text-align: center;
}

.profile-container h6 {
    font-weight: 600;
    font-size: 16px;
    margin-top: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e4e4e4;
}

/* TICKET BUTTONS*/
.event-signup-button {
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s, box-shadow 0.3s;
}

/* Media query for mobile devices */
@media (max-width: 600px) {
    body {
        padding: 0px;
    }

    .container {
        padding: 20px;
        width: 95%;
    }

    h4 {
        font-size: 1.25rem;
    }

    input[type="text"],
    input[type="password"] {
        padding: 10px;
        font-size: 1rem;
    }

    button {
        padding: 14px;
        font-size: 1rem;
    }
}