/*
=========================================================
Xplora Attendance System
style.css
Version 1.0
=========================================================
*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Segoe UI", Arial, Helvetica, sans-serif;
}

body{
    background:#f3f5f7;
    color:#333;
    line-height:1.5;
}

/* =========================================
   Layout
========================================= */

.wrapper{
    width:95%;
    max-width:1000px;
    margin:40px auto;
}

.container{
    width:95%;
    max-width:420px;
    margin:auto;
}

/* =========================================
   Card
========================================= */

.card,
.login-card{
    background:#ffffff;
    border-radius:10px;
    padding:30px;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    margin-bottom:25px;
}

/* =========================================
   Logo
========================================= */

.logo{
    text-align:center;
    margin-bottom:25px;
}

.logo img{
    width:80px;
    height:auto;
    margin-bottom:15px;
}

.logo h1{
    color:#0D6B42;
    font-size:28px;
    margin-bottom:6px;
}

.logo p{
    color:#777;
    font-size:14px;
}

/* =========================================
   Typography
========================================= */

h1,h2,h3{
    color:#0D6B42;
    margin-bottom:20px;
}

p{
    margin-bottom:12px;
}

.info{
    margin-bottom:12px;
}

/* =========================================
   Forms
========================================= */

label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
}

input,
textarea,
select{

    width:100%;

    padding:13px;

    border:1px solid #cccccc;

    border-radius:10px;

    outline:none;

    font-size:15px;

    background:#fff;

    transition:.2s;

    margin-bottom:20px;

}

textarea{

    resize:vertical;

    min-height:120px;

}

input:focus,
textarea:focus,
select:focus{

    border-color:#0D6B42;

    box-shadow:0 0 0 3px rgba(13,107,66,.10);

}

/* =========================================
   Buttons
========================================= */

button,
.btn{

    display:inline-block;

    padding:13px 22px;

    border:none;

    border-radius:10px;

    cursor:pointer;

    font-size:15px;

    text-decoration:none;

    transition:.2s;

}

button:hover,
.btn:hover{

    opacity:.92;

}

.btn-primary,
.clockin{

    background:#0D6B42;

    color:#fff;

}

.btn-danger,
.clockout{

    background:#d9534f;

    color:#fff;

}

.btn-dark,
.logout{

    background:#555;

    color:#fff;

}

.btn-secondary{

    background:#6c757d;

    color:#fff;

}

/* =========================================
   Flex Buttons
========================================= */

.buttons{

    display:flex;

    gap:15px;

    flex-wrap:wrap;

    margin-top:15px;

}

/* =========================================
   Status Badge
========================================= */

.status{

    display:inline-block;

    padding:10px 18px;

    border-radius:10px;

    background:#e8f7ed;

    color:#0D6B42;

    font-weight:bold;

}

.status.active{

    background:#e8f7ed;

    color:#0D6B42;

}

.status.completed{

    background:#e8f0ff;

    color:#0047ab;

}

.status.error{

    background:#ffe8e8;

    color:#c62828;

}

/* =========================================
   Alerts
========================================= */

.success{

    background:#e8f7ed;

    color:#0D6B42;

    border:1px solid #b8e0c5;

    padding:15px;

    border-radius:10px;

    margin-bottom:20px;

}

.error{

    background:#ffe7e7;

    color:#b00020;

    border:1px solid #ffbcbc;

    padding:15px;

    border-radius:10px;

    margin-bottom:20px;

}

.warning{

    background:#fff8e5;

    color:#996600;

    border:1px solid #ffe08a;

    padding:15px;

    border-radius:10px;

    margin-bottom:20px;

}

/* =========================================
   Tables
========================================= */

table{

    width:100%;

    border-collapse:collapse;

    background:#fff;

}

table th{

    background:#0D6B42;

    color:#fff;

    padding:12px;

    text-align:left;

}

table td{

    padding:12px;

    border-bottom:1px solid #eeeeee;

}

table tr:hover{

    background:#f7f9fb;

}

/* =========================================
   Footer
========================================= */

.footer{

    text-align:center;

    color:#777;

    margin-top:25px;

    font-size:13px;

}

.version{

    margin-top:5px;

}

/* =========================================
   Responsive
========================================= */

@media(max-width:768px){

.wrapper{

    width:96%;

}

.login-card,
.card{

    padding:20px;

}

.buttons{

    flex-direction:column;

}

button,
.btn,
.logout{

    width:100%;

    text-align:center;

}

.logo img{

    width:70px;

}

.logo h1{

    font-size:24px;

}

}