* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {

    font-family: Arial, Helvetica, sans-serif;

    background: #f4f6f9;

    color: #333;

}



.container {

    width: 100%;

    max-width: 420px;

    margin: 40px auto;

    padding: 20px;

}



/* Main Cards */

.login-card,
.dashboard-card,
.branding-card,
.content-card {

    background: #ffffff;

    border: 1px solid #dcdcdc;

    border-radius: 12px;

    padding: 30px;

    text-align: center;

    margin-bottom: 20px;

}



/* Branding */

.branding {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

}


.logo {

    width: 90px;

    height: auto;

    margin-bottom: 12px;

}



.main-title {

    color: #000000;

    font-size: 1.6rem;

    font-weight: bold;

    margin: 0;

}



.sub-title {

    color: #000000;

    font-size: 1.2rem;

    font-weight: bold;

    margin-top: 4px;

}



.company-name {

    color: #0066cc;

    font-size: 0.8rem;

    font-weight: bold;

    margin-top: 15px;

}



/* Forms */

label {

    display: block;

    text-align: left;

    font-weight: bold;

    margin-top: 15px;

    margin-bottom: 8px;

}



input[type="password"],
input[type="text"],
textarea {

    width: 100%;

    padding: 12px;

    border: 1px solid #bfbfbf;

    border-radius: 8px;

    font-size: 15px;

    font-family: Arial, Helvetica, sans-serif;

}



textarea {

    min-height: 140px;

    resize: vertical;

}



/* Role Cards */

.role-options {

    display: flex;

    flex-direction: column;

    gap: 12px;

}



.role-card {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    padding: 15px;

    border: 1px solid #222;

    border-radius: 8px;

    background: #f2f2f2;

    cursor: pointer;

}



.role-card input {

    margin-right: 10px;

}



.role-card:hover {

    background: #e4e4e4;

}



/* Buttons */

button,
.menu-button {

    display: block;

    width: 100%;

    margin-top: 20px;

    padding: 14px;

    border: 1px solid #222;

    border-radius: 8px;

    background: #f2f2f2;

    color: #222;

    text-decoration: none;

    text-align: center;

    font-size: 15px;

    cursor: pointer;

}



button:hover,
.menu-button:hover {

    background: #e4e4e4;

}



.menu-button.danger {

    background: #ffe5e5;

    color: #a00000;

    border-color: #ffb3b3;

}



/* Login */

.login-card button {

    margin-top: 12px;

}



.login-flash {

    margin-top: 12px;

}



/* Dashboard Menu */

.dashboard-menu {

    margin-top: 20px;

}



/* Welcome */

.welcome {

    text-align: center;

    margin-bottom: 20px;

}



/* Flash Messages */

.flash-container {

    margin-top: 15px;

}



.alert {

    padding: 12px;

    border-radius: 8px;

    text-align: center;

}



.alert.error {

    background: #ffe5e5;

    color: #a00000;

    border: 1px solid #ffb3b3;

}



.alert.success {

    background: #e5ffe5;

    color: #006600;

    border: 1px solid #99cc99;

}



/* Status Cards */

.status-menu {

    display: flex;

    flex-direction: column;

    gap: 14px;

    margin-top: 20px;

    margin-bottom: 25px;

}



.status-card {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 18px;

    border: 1px solid #222;

    border-radius: 8px;

    text-decoration: none;

    color: #222;

    font-weight: bold;

}



.status-card:hover {

    opacity: 0.85;

}



.status-card span {

    font-size: 1.2rem;

}



/* Status Colors */

.status-card.ongoing {

    background: #d9ecff;

}



.status-card.pending {

    background: #fff4cc;

}



.status-card.rejected {

    background: #ffd9d9;

}



.status-card.resolved {

    background: #d9f5d9;

}



/* Ticket Cards */

.ticket-link {

    display: block;

    text-decoration: none;

    color: inherit;

    margin-top: 20px;

}



.ticket-card {

    background: #ffffff;

    border: 1px solid #dcdcdc;

    border-radius: 12px;

    padding: 20px;

    text-align: left;

    margin-bottom: 20px;

}



.ticket-card:hover {

    background: #f8f8f8;

}



.ticket-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 10px;

}



.ticket-header h3 {

    margin: 0;

}



.ticket-card hr {

    border: none;

    border-top: 1px solid #dcdcdc;

    margin: 15px 0;

}



.ticket-card p {

    margin-top: 10px;

    line-height: 1.4;

}



.concern-box {

    margin-top: 8px;

    padding: 12px;

    background: #f4f6f9;

    border-radius: 8px;

    border: 1px solid #ddd;

}



/* Ticket Status Badge */

.status {

    padding: 5px 12px;

    border-radius: 20px;

    font-size: 0.85rem;

    font-weight: bold;

}



.status.pending {

    background: #fff3cd;

    color: #856404;

}


.status.ongoing {

    background: #d9ecff;

    color: #0056a6;

}


.status.rejected {

    background: #ffd9d9;

    color: #a00000;

}


.status.resolved {

    background: #d9f5d9;

    color: #006600;

}



/* Mobile */

@media (max-width: 600px) {


    .container {

        margin: 20px auto;

        padding: 15px;

    }



    .login-card,
    .dashboard-card,
    .branding-card,
    .content-card {

        padding: 20px;

    }



    .logo {

        width: 75px;

    }



    .main-title {

        font-size: 1.35rem;

    }



    .sub-title {

        font-size: 0.95rem;

    }



    .company-name {

        font-size: 0.7rem;

    }

}

.admin-branding-card {
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    text-align: center;
}

.admin-status-menu {
    margin-bottom: 20px;
}

.admin-status-menu .status-card {
    margin-bottom: 14px;
}

.admin-status-menu .status-card:last-child {
    margin-bottom: 0;
}

.admin-branding-card,
.admin-content-card {
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.admin-branding-card {
    margin-bottom: 20px;
}

.admin-content-card {
    margin-bottom: 20px;
}

.admin-status-menu .status-card {
    margin-bottom: 14px;
}

.admin-status-menu .status-card:last-child {
    margin-bottom: 20px;
}

.admin-content-card .ticket-card {
    margin-bottom: 20px;
}

.admin-content-card .ticket-card:last-child {
    margin-bottom: 20px;
}