/* SHARED BRANDING */
:root {
    --primary-dark: #003189;   /* Deep Blue */
    --primary-bright: #0080FF; /* Bright Blue */
    --bg: #f0f2f5;
    --card-bg: #ffffff;
    --text: #333;
    --border: #e2e8f0;
    --radius: 12px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 20px;
    flex-direction:column;
}

/* Common Header for all tools */
.tool-header {
    max-width: 900px;
    margin: 0 auto 20px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap:16px;
}

.tool-header a {
    text-decoration: none;
    color: var(--primary-bright);
    font-weight: 600;
    font-size: 14px;
}

.container {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    box-sizing: border-box;
}

h1 {
    margin-top: 0;
    color: var(--primary-dark);
    font-size: 22px;
    border-bottom: 2px solid var(--primary-bright);
    padding-bottom: 10px;
    margin-bottom: 25px;
}

/* Standard Buttons */
.btn {
    cursor: pointer;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.2s;
    color: white;
    text-decoration: none;
    display: inline-block;
}