* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f3f4f6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
    color: #1f2937;
}

.action-bar {
    width: 100%;
    background-color: #1e3a8a; /* Deep HVAC blue theme */
    color: #ffffff;
    height: 64px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    position: absolute;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.action-bar-title {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.action-bar-actions {
    margin-left: auto;
    display: flex;
    gap: 10px;
    align-items: center;
}

.icon-button {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
    transition: background-color 0.2s;
}

.icon-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.profile-button {
    background-image: url("../res/images/user-profile-white-24.svg");
}

.sill-set-button {
    background-image: url("../res/images/skill-set-white-24.svg");
}

.settings-button {
    background-image: url("../res/images/settings-white-24.svg");
}

.back-button {
    width: 40px;
    height: 40px;
    background-color: transparent;
    background-image: url("../res/images/arrow-white-24.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
    border: none;
    color: #ffffff;
    cursor: pointer;
    margin-right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.back-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.skill-set-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    background-color: #3f5ad6;
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 16px rgba(31, 41, 55, 0.08);
    transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.skill-set-button:hover,
.skill-set-button:focus-visible {
    background-color: #5068e8;
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 10px 20px rgba(31, 41, 55, 0.12);
}

.skill-set-button img {
    width: 20px;
    height: 20px;
    display: block;
}

.skill-set-button span {
    font-size: 1rem;
    font-weight: 600;
}

/* Scrollable Content Container */


/* Strict iPhone 17 viewport simulator constraints */
.app-content-container {
    width: 100%;
    min-height: 100vh;
    max-height: 960px;
    background-color: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    display: block;
    top: 64px;
    position: absolute;
    overflow-y: scroll
}

.app-content {
    padding: 20px;
    background-color: #f9fafb;
}

/* Placeholder for layout cards */
.placeholder-card {
    background: white;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Info message styles */
.info-message {
    background-color: #fef3c7; /* Light yellow for warnings */
    color: #92400e; /* Darker yellow for text */
    padding: 12px;
    border: 1px solid #fcd34d; /* Yellow border */
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    display: none; /* Hidden by default, shown when needed */
}

.get-code-link{
    display: inline-block;
    margin-bottom: 12px;
    color: #1e3a8a;
    text-decoration: underline;
    font-weight: 500;
}

/* Form styles */
.section-heading {
    margin-bottom: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1f365f;
}

.form-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
}

.form-button {
    width: 100%;
    padding: 12px;
    background-color: #1e3a8a;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

/* Important links */
.horizontal-separator{
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 16px 0;
}

.important-link {
    display: block;
    margin-top: 12px;
    margin-bottom: 12px;
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
}

/* License checkbox list */
.license-entry {
    margin-bottom: 12px;
}

.license-entry-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.license-entry-label:hover {
    border-color: #c7d2fe;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    background-color: #f8fafc;
}

.license-checkbox {
    width: 20px;
    height: 20px;
    accent-color: #1e3a8a;
}

.license-details {
    display: grid;
    gap: 4px;
}

.license-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
}

/* Bottom Menu */
.app-bottom-menu {
    background: rgba(30, 58, 138, 0.96);
    padding: 12px 16px 18px;
    bottom: 0;
    width: 100%;
    position: absolute;
}
.bottom-menu-nav {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
}
.bottom-menu-link {
    flex: 1;
    min-width: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 10px;
    background: rgba(255, 255, 255, 0.10);
    color: #f8fafc;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    border-radius: 18px;
}

.menu-icon {
    font-size: 1.2rem;
    line-height: 1;
}


/* Footer Navigation */
.app-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #1e3a8a;
    padding: 12px 0;
    display: block;
    text-align: center;
}
.app-footer div {
    display: block;
    font-weight: 500;
    color: #f3f4f6;
    font-size: 0.8rem;
    margin-top: 4px;    
}

.app-footer div a{
    color: #f3f4f6;
    text-decoration: underline;
    margin: 0 8px;
}