/* ==========================================================================
   Variables
   ========================================================================== */

/* ==========================================================================
   Base styles
   ========================================================================== */

html {
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
}

body {
    background-color: #fefefe;
    font-size: 90%;
    background: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
    font-style: normal;
}

/* ==========================================================================
   Layout Styles
   ========================================================================== */

.wrapper {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    margin:0;
    background-color: white;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    justify-content: flex-start;
    width:100%;
    box-sizing: border-box;
    background:#f5f5f5;
}

main {
    display: flex;
    flex-direction: column;
    max-width: 640px;
    width:100%;
    box-sizing: border-box;
}

footer {
    display: flex;
    margin: 2rem auto;
}

h4 {
    font-size: 1rem;
    margin: 0;
}
h2 {
    margin-top: 2rem;
}
strong {
    color: black;
}
p {
    color: #777;
    line-height: 120%;
}

/* ==========================================================================
   Header Styles
   ========================================================================== */

#pp {
    box-sizing: border-box;
    border-radius: 13px;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.14);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 16px;
    width: 100%;
}

#pp h4,
#pp h2,
#pp p {
    margin: 0 0 1rem 0;
}

#apps {
    display: flex;
    flex-direction: column;
    margin:0;
    background-color: white;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    justify-content: flex-start;
    width:100%;
    height:100vh;
    box-sizing: border-box;
    background:#f5f5f5;
}
.page-header {
    margin:24px 0 8px 0;
}
.page-header h1 {
    margin:1.67em 0 0 0;
}
.page-header a{
    color:rgba(0, 113, 227, 1);
    text-decoration: none;
}
.support-header {
    margin:0 0 8px 0;
}
.support-header h3{
    margin:8px 0 0 0;
}
.app-header {
    display: flex;
    flex-direction: row;
    gap:8px;
    margin:24px 0 8px 0;
    justify-content: space-between;
}
.app-header h3{
    margin:0;
    padding:0;
}
.app-header a{
    color:rgba(0, 113, 227, 1);
    text-decoration: none;
}

#apps main {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex:1;
    width:100%;
    box-sizing: border-box;
    gap:8px;
}
.app-list {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width:100%;
    margin:0;
    padding:0;
    background:white;
    border-radius:12px;
    border:1px solid rgba(0, 0, 0, 0.14);
}
.app-list li {
    box-sizing: border-box;
    text-decoration: none;
    display: flex;
    gap: 12px;
    padding: 16px;
    align-items: center;
    width:100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.14);
}

.app-list li:last-child {
    border-bottom: none;
}


.app-list li img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
}
.app-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex:1;
}
.app-content h4 {
    margin: 0;
    font-size:15px;
    color:#333;
}
.app-content p {
    margin: 0;
    color:#777;
    font-weight: 400;
    font-size:13px;
}

.app-list li a {
    display: flex;
    gap: 12px;
    padding-right: 16px;
    align-items: center;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.app-list li a .app-content h4 {
    color:#333;
    font-weight: 600;
}

.app-list li a .app-content p {
    color:#777;
}

.app-list li a:hover {
    text-decoration: none;  /* Optional - ensure no underline */
    background-color: transparent; /* Prevent background color change */
}

.app-list li .app-links {
    margin-left: 48px;
    background: rgba(0, 113, 227, 1);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    color: #fff;
}

.app-list li span {
  color: #fff
}


footer{
    margin:0;
    padding:0 8px;
    font-size:11px;
    color:#777;
}
footer a{
    color:rgba(0, 113, 227, 1);
    text-decoration: none;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
    display: none !important;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-width: 960px) {
}

@media only screen and (max-width: 768px) {
    main {
        padding: 16px;
    }
    .wrapper {
        margin: 0;
        width: 100%;
    }
    .app-links{
        flex-direction: column;
        font-size:11px;
    }
}

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
    (-webkit-min-device-pixel-ratio: 1.25),
    (min-resolution: 1.25dppx),
    (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *::before,
    *::after {
        background: #fff !important;
        color: #000 !important;
        /* Black prints faster */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]::after {
        content: " (" attr(href) ")";
    }

    abbr[title]::after {
        content: " (" attr(title) ")";
    }

    /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
    a[href^="#"]::after,
    a[href^="javascript:"]::after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/* Contact Form Styling */
.contact-form {
    padding: 20px 0;
}

.input-container {
    margin-bottom: 20px;
    box-sizing: border-box;
}

.input-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.input-container input,
.input-container textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.input-container textarea {
    min-height: 120px;
    resize: vertical;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.contact-footer button{
    width:100%;
}

#result {
    margin-top: 20px;
    padding: 10px;
    border-radius: 4px;
}
