/* iOS Support Page Style - Modern Apple Design */

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #ffffff;
    color: #1d1d1f;
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    min-width: 320px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 600;
}

a {
    color: #0071e3;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header Navigation */
.title-bar {
    position: relative;
    width: 100%;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid #d2d2d7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    z-index: 9999;
}

.title-image {
    height: 32px;
    width: 32px;
    margin-right: 8px;
    vertical-align: middle;
}

.title-bar span {
    font-size: 17px;
    font-weight: 400;
    color: #1d1d1f;
}

.right {
    margin-top: 0;
    display: flex;
    align-items: center;
    float: none;
}

.menu-link {
    margin-right: 0;
    margin-left: 32px;
    font-size: 14px;
    font-weight: 400;
    padding: 0;
    color: #1d1d1f;
    display: inline-block;
    line-height: 1;
    text-decoration: none;
}

.menu-link:hover {
    color: #0071e3;
    text-decoration: none;
}

/* Hero Header Section */
.header {
    display: block;
    border: 0;
    margin: 0;
    padding: 80px 0 100px;
    width: 100%;
    overflow: hidden;
    color: #f5f5f7;
    background-color: #000000;
    text-align: center;
    min-height: 500px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.h1-image {
    margin: 0 auto 20px;
    color: #ffffff;
    font-size: 56px;
    line-height: 1.07143;
    font-weight: 600;
    letter-spacing: -0.005em;
    display: block;
    text-align: center;
    padding: 0 22px;
    max-width: 1024px;
}

.h2 {
    margin: 0 auto;
    color: #f5f5f7;
    font-size: 28px;
    line-height: 1.14286;
    font-weight: 400;
    letter-spacing: 0.007em;
    display: block;
    text-align: center;
    padding: 0 22px;
    max-width: 800px;
}

.extension-section {
    margin-top: 40px;
    margin-bottom: 0;
}

.button {
    color: #ffffff;
    margin: 0;
    padding: 0;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.17647;
    border-radius: 980px;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", sans-serif;
    text-decoration: none;
    display: inline-block;
}

.button:focus {
    outline: none;
}

.extension-span {
    background-color: #0071e3;
    padding: 12px 24px;
    border-radius: 980px;
    box-shadow: none;
    transition: background-color 0.2s ease;
    display: inline-block;
}

.extension-span:hover {
    background-color: #0077ed;
}

/* Main Content Container */
.userguide-content {
    display: block;
    max-width: 980px;
    margin: 0 auto;
    padding: 80px 22px;
}

.content {
    margin: 0 auto;
    padding: 80px 22px;
    display: block;
    max-width: 980px;
}

/* Page Titles */
.h1left {
    margin: 0 0 20px 0;
    color: #1d1d1f;
    font-size: 48px;
    line-height: 1.08349;
    font-weight: 600;
    letter-spacing: -0.003em;
    display: block;
    text-align: left;
}

.h1-textleft {
    margin: 0 0 40px 0;
    text-align: left;
    color: #6e6e73;
    font-size: 21px;
    line-height: 1.38105;
    font-weight: 400;
    letter-spacing: 0.011em;
}

/* Grid Layout */
.grid {
    display: block;
    border-bottom: none;
    margin-bottom: 60px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 40px -12px 0;
    border-bottom: none;
}

.item3 {
    vertical-align: top;
    display: block;
    flex: 0 0 auto;
    width: calc(50% - 24px);
    margin: 0 12px 40px;
    padding: 0;
}

/* Section Headings */
.h3 {
    color: #1d1d1f;
    font-size: 24px;
    line-height: 1.16667;
    font-weight: 600;
    letter-spacing: 0.009em;
    display: block;
    text-align: left;
    margin: 0 0 12px 0;
}

.h3-paragraph {
    color: #1d1d1f;
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    display: block;
    text-align: left;
    margin: 0 0 16px 0;
}

.h3-paragraph:last-child {
    margin-bottom: 0;
}

.h3-paragraph strong {
    font-weight: 600;
}

.h3-paragraph a {
    color: #0071e3;
    text-decoration: none;
}

.h3-paragraph a:hover {
    text-decoration: underline;
}

/* Dark Background Section */
.content-dark {
    padding: 60px 22px;
    margin: 0;
    width: 100%;
    display: block;
    background: #f5f5f7;
    text-align: center;
}

/* User Guide Specific Styles */
.userguide-header {
    color: #1d1d1f;
    font-size: 28px;
    line-height: 1.14286;
    font-weight: 600;
    letter-spacing: 0.007em;
    display: block;
    text-align: left;
    margin: 40px 0 20px 0;
    padding: 0;
}

.userguide-paragraph {
    color: #1d1d1f;
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    display: block;
    padding: 0;
    margin: 0 0 16px 0;
    text-align: left;
}

.li-paragraph {
    color: #1d1d1f;
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    display: block;
    text-align: left;
    margin: 8px 0;
}

/* Question/FAQ Styles */
.question-header {
    color: #1d1d1f;
    font-size: 21px;
    line-height: 1.19048;
    font-weight: 600;
    letter-spacing: 0.011em;
    display: block;
    text-align: left;
    margin: 0;
    padding: 16px 20px;
    border-radius: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.question-header:hover {
    background-color: #f5f5f7;
}

/* Images and Figures */
.userguidefigure {
    display: block;
    margin: 40px 0;
    padding: 0;
}

.userguideimage {
    max-width: 100%;
    height: auto;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.image-textleft {
    display: block;
    padding: 12px 0 0;
    margin: 0;
    text-align: center;
    color: #6e6e73;
    font-size: 14px;
    line-height: 1.42859;
    font-weight: 400;
    letter-spacing: -0.016em;
}

.indeximage {
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border-radius: 18px;
}

/* Badges and Labels */
.greenbg {
    color: #ffffff;
    background-color: #30d158;
    border-radius: 4px;
    width: auto;
    height: auto;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 6px;
    display: inline-block;
    line-height: 1.33337;
}

/* Cookie Banner */
.cookies-background {
    position: fixed;
    overflow: hidden;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.48);
    z-index: 9998;
}

.cookies {
    position: fixed;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    width: 100%;
    justify-content: center;
    text-align: center;
    border-top: 1px solid #d2d2d7;
    z-index: 9999;
}

.cookies-text {
    color: #1d1d1f;
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    display: block;
    text-align: center;
    margin: 20px 22px;
}

.cookies-button {
    border-radius: 980px;
    border: none;
    padding: 12px 24px;
    background-color: #0071e3;
    color: #ffffff;
    font-size: 17px;
    font-weight: 400;
    text-transform: none;
    text-decoration: none;
    margin: 0 8px 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cookies-button:hover {
    background-color: #0077ed;
}

.chrome, .firefox, .opera, .edge, .other {
    display: none;
}

/* Lists */
ul, ol {
    margin: 16px 0;
    padding-left: 24px;
}

li {
    margin: 8px 0;
}

/* Code and Pre */
code {
    font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
    font-size: 15px;
    background-color: #f5f5f7;
    padding: 2px 6px;
    border-radius: 4px;
}

pre {
    font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
    font-size: 15px;
    background-color: #f5f5f7;
    padding: 16px;
    border-radius: 12px;
    overflow-x: auto;
    line-height: 1.5;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

th, td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #d2d2d7;
}

th {
    font-weight: 600;
    color: #1d1d1f;
}

td {
    color: #1d1d1f;
}

/* Responsive Design */
@media only screen and (max-width: 1068px) {
    .userguide-content,
    .content {
        max-width: 692px;
        padding: 60px 22px;
    }

    .h1left {
        font-size: 40px;
        line-height: 1.1;
    }

    .h1-image {
        font-size: 48px;
        line-height: 1.08349;
    }

    .h2 {
        font-size: 24px;
        line-height: 1.16667;
    }
}

@media only screen and (max-width: 734px) {
    .userguide-content,
    .content {
        padding: 40px 16px;
    }

    .title-bar {
        padding: 0 16px;
    }

    .menu-link {
        margin-left: 16px;
        font-size: 12px;
    }

    .h1left {
        font-size: 32px;
        line-height: 1.125;
        margin-bottom: 16px;
    }

    .h1-textleft {
        font-size: 19px;
        line-height: 1.42105;
        margin-bottom: 32px;
    }

    .h1-image {
        font-size: 40px;
        line-height: 1.1;
    }

    .h2 {
        font-size: 21px;
        line-height: 1.19048;
    }

    .h3 {
        font-size: 21px;
        line-height: 1.19048;
    }

    .item3 {
        width: 100%;
        margin: 0 0 32px 0;
    }

    .row {
        margin: 32px 0 0;
    }

    .header {
        padding: 60px 0 80px;
        min-height: 400px;
    }

    .userguide-header {
        font-size: 24px;
        line-height: 1.16667;
        margin: 32px 0 16px 0;
    }

    .question-header {
        font-size: 19px;
        line-height: 1.21053;
        padding: 12px 16px;
    }
}

@media only screen and (max-width: 480px) {
    .h1-image {
        font-size: 32px;
        line-height: 1.125;
    }

    .h2 {
        font-size: 19px;
        line-height: 1.21053;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #000000;
        color: #f5f5f7;
    }

    .title-bar {
        background-color: rgba(0, 0, 0, 0.8);
        border-bottom: 1px solid #424245;
    }

    .title-bar span,
    .menu-link {
        color: #f5f5f7;
    }

    .menu-link:hover {
        color: #2997ff;
    }

    a {
        color: #2997ff;
    }

    .h1left,
    .h3,
    .userguide-header,
    .userguide-paragraph,
    .li-paragraph,
    .h3-paragraph,
    .question-header {
        color: #f5f5f7;
    }

    .h1-textleft,
    .image-textleft {
        color: #a1a1a6;
    }

    .content-dark {
        background: #1d1d1f;
    }

    .question-header:hover {
        background-color: #1d1d1f;
    }

    code,
    pre {
        background-color: #1d1d1f;
    }

    th, td {
        border-bottom: 1px solid #424245;
    }

    th, td {
        color: #f5f5f7;
    }

    .cookies {
        background: rgba(29, 29, 31, 0.95);
        border-top: 1px solid #424245;
    }

    .cookies-text {
        color: #f5f5f7;
    }

    .cookies-button {
        background-color: #2997ff;
    }

    .cookies-button:hover {
        background-color: #147ce5;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles */
a:focus,
button:focus {
    outline: 2px solid #0071e3;
    outline-offset: 2px;
}

@media (prefers-color-scheme: dark) {
    a:focus,
    button:focus {
        outline-color: #2997ff;
    }
}

/* Print Styles */
@media print {
    .title-bar,
    .cookies,
    .cookies-background,
    .button,
    .extension-section {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .userguide-content,
    .content {
        max-width: 100%;
        padding: 0;
    }

    a {
        color: black;
        text-decoration: underline;
    }
}
