/* =========================================================
   Kraft & Sons Client Portal
   Global Site Styles
   ========================================================= */

/* ---------- Base ---------- */

* {
    box-sizing: border-box;
}

html {
    font-size: 14px;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333333;
    background: #ffffff;
}

/* ---------- Typography ---------- */

h1,
h2,
h3,
h4 {
    margin-top: 0;
    font-weight: 600;
    color: #222222;
}

h1 {
    font-size: 24px;
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 17px;
}

p {
    margin-top: 0;
}

/* ---------- Links ---------- */

a {
    color: #2f5d7c;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ---------- Containers ---------- */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Buttons ---------- */

.button,
button {
    display: inline-block;
    padding: 9px 16px;
    border: 1px solid #2f5d7c;
    border-radius: 4px;
    background: #2f5d7c;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.2;
    cursor: pointer;
}

.button:hover,
button:hover {
    background: #244960;
}

.button-secondary {
    border-color: #cccccc;
    background: #ffffff;
    color: #333333;
}

.button-secondary:hover {
    background: #f5f5f5;
}

/* ---------- Forms ---------- */

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333333;
}

input,
select,
textarea {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    background: #ffffff;
    color: #333333;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #2f5d7c;
}

/* ---------- Tables ---------- */

table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

th {
    padding: 10px;
    border-bottom: 1px solid #cccccc;
    background: #2f5d7c;
    color: #ffffff;
    text-align: left;
    font-weight: 600;
}

td {
    padding: 9px 10px;
    border-bottom: 1px solid #e5e5e5;
}

tr:hover td {
    background: #f8f8f8;
}

/* ---------- Cards ---------- */

.card {
    padding: 20px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    background: #ffffff;
}

/* ---------- Messages ---------- */

.message {
    padding: 10px 12px;
    margin-bottom: 15px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    background: #f8f8f8;
}

.message-error {
    border-color: #e0b4b4;
    background: #fff5f5;
    color: #8a3030;
}

.message-success {
    border-color: #b8d8c0;
    background: #f3faf5;
    color: #28633a;
}

.message-info {
    border-color: #c5d8e5;
    background: #f4f8fb;
    color: #31566d;
}