/* Amazon Internal Style */
@import url('https://m.media-amazon.com/images/G/01/rebrand/EMBER_FONTS.css');

:root {
    --squid-ink: #232f3e;
    --ember-orange: #ff9900;
    --ember-orange-hover: #e88b00;
    --light-gray: #f5f7fa;
    --border-gray: #d5dbdb;
    --text-primary: #16191f;
    --text-secondary: #545b64;
    --white: #ffffff;
    --success-green: #1d8102;
    --error-red: #d13212;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Amazon Ember', 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light-gray);
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.5;
}

/* Top Navigation Bar */
.nav-header {
    background-color: var(--squid-ink);
    color: var(--white);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-header h1 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
}

.nav-header a {
    color: var(--ember-orange);
    text-decoration: none;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background 0.2s;
}

.nav-header a:hover {
    background: rgba(255, 153, 0, 0.15);
}

/* Main Content */
.container {
    max-width: 900px;
    margin: 24px auto;
    padding: 0 24px;
}

h1 {
    text-align: left;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

h2 {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-gray);
}

/* Cards / Sections */
.section {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Form Elements */
.form-group {
    margin-bottom: 16px;
}

label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

input[type="text"],
input[type="number"],
input[type="file"],
select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.15s;
}

input[type="text"]:focus,
input[type="number"]:focus,
select:focus {
    outline: none;
    border-color: var(--ember-orange);
    box-shadow: 0 0 0 2px rgba(255, 153, 0, 0.2);
}

input[type="checkbox"] {
    margin-right: 8px;
    accent-color: var(--ember-orange);
}

/* Buttons */
button,
.button {
    background-color: var(--ember-orange);
    color: var(--squid-ink);
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.15s;
}

button:hover,
.button:hover {
    background-color: var(--ember-orange-hover);
}

button:disabled {
    background-color: var(--border-gray);
    color: var(--text-secondary);
    cursor: not-allowed;
}

.button-group {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

/* Banner */
.banner {
    background-color: #eff6ff;
    border: 1px solid #3b82f6;
    border-left: 4px solid #3b82f6;
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.banner h3 {
    margin: 0 0 8px 0;
    color: var(--text-primary);
    font-size: 14px;
}

.banner ul {
    margin: 0;
    padding-left: 20px;
}

/* Footer */
footer {
    text-align: center;
    padding: 24px;
    color: var(--text-secondary);
    font-size: 12px;
    border-top: 1px solid var(--border-gray);
    margin-top: 40px;
}

footer a {
    color: var(--ember-orange);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Utility */
.hidden {
    display: none;
}

small {
    font-size: 12px;
    color: var(--text-secondary);
}
