/*
Theme Name: TMS Theme
Theme URI: https://jeeboombaa.com
Author: PRS
Description: Theme for Transport Management System
Version: 1.0
*/

/* Base */
html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #F4F6F9;
    color: #222;

    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.tms-container {
    flex: 1;
    padding: 20px;
}


/* Wrapper */

.tms-wrapper {
    max-width: 1200px;
    margin: auto;
    padding: 15px;
}

/* Header */

.tms-header {
    background: #ffffff;
    border-bottom: 3px solid #FF6F00;
}

.tms-logo img {
    max-height: 55px;
    width: auto;
}

.tms-logo a {
    text-decoration: none;
    font-size: 22px;
    font-weight: bold;
    color: #0D47A1;
}

/* Container */

.tms-container {
    padding: 20px;
}

/* Footer */

.tms-footer {
     margin-top: auto;
    background: #0D47A1;
    color: #fff;
    text-align: center;
    padding: 20px;
}




/* Buttons */

.tms-btn {
    background: #FF6F00;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s;
}

.tms-btn:hover {
    background: #e65100;
}

/* Primary Button */

.tms-btn-primary {
    background: #0D47A1;
}

.tms-btn-primary:hover {
    background: #08306b;
}

/* Cards */

.tms-card {
    background: #fff;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Form */

.tms-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 15px;
}

.tms-label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

/* Table */

.tms-table {
    width: 100%;
    border-collapse: collapse;
}

.tms-table th {
    background: #0D47A1;
    color: #fff;
    padding: 10px;
}

.tms-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

/* Dashboard Menu */

.tms-menu {
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid #FF6F00;
}

.tms-menu a {
    display: inline-block;
    margin-right: 15px;
    color: #0D47A1;
    text-decoration: none;
    font-weight: 600;
}

.tms-menu a:hover {
    color: #FF6F00;
}

/* Utility */

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

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.tms-header .tms-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tms-btn .dashicons {
    line-height: 1;
    vertical-align: middle;
}

/* Default Icon Button (Edit - Orange) */

.tms-icon-btn {
    background: #FF6F00;
    color: white;
    padding: 6px 8px;
    border-radius: 4px;
    display: inline-block;
    transition: 0.2s;
}

.tms-icon-btn:hover {
    background: #e65100;
}

/* Print Button (Blue) */

.tms-icon-btn.print {
    background: #0D47A1;
}

.tms-icon-btn.print:hover {
    background: #08306b;
}

/* Delete Button (Red) */

.tms-icon-btn.delete {
    background: #d32f2f;
}

.tms-icon-btn.delete:hover {
    background: #9a0007;
}

.tms-icon-btn:hover {
    transform: translateY(-1px);
}