﻿/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */

/* footer block*/
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #003366, #005599);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    font-family: 'Segoe UI Light', Arial, Helvetica, sans-serif;
}

.copyright {
    background-color: #444;
    color: #fff;
    padding: 1rem 2rem;
    font-size: 0.9rem;
    font-family: Arial, sans-serif;
    text-align: center;
    align-content: center;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footerleftsection {
    flex: 1 1 auto;
    text-align: left;
    min-width: 200px;
}

.footerrightsection {
    flex: 1 1 auto;
    text-align: right;
    min-width: 200px;
}

    .footerrightsection a {
        color: #fff;
        text-decoration: none;
        margin-left: 1rem;
        font-weight: 500;
    }

        .footerrightsection a:hover {
            text-decoration: underline;
            color: #ddd;
        }



    /* Outer wrapper with corporate blue background */
    .login-error {
        background-color: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
        padding: 0.75rem 1rem;
        margin-bottom: 1rem;
        border-radius: 6px;
        font-size: 0.95rem;
        font-family: Arial, sans-serif;
    }

    .login-error {
        animation: fadeInConfirm 0.6s ease forwards;
        opacity: 0;
    }

    @keyframes fadeInConfirm {
        to {
            opacity: 1;
        }
    }

    .page-wrapper {
        min-height: calc(100vh - 120px); /* fills page except for footer*/
        display: flex;
        justify-content: center;
        align-items: center;
        padding: .2rem;
    }

    /* Inner box with rounded corners */
    .auth-box {
        /*display: flex;
        flex-wrap: wrap;*/
        background-color: #fff !important;
        border-radius: 10px;
        max-width: 1600px;
        width: 100%;
        padding: 0.3rem;
        box-shadow: 0 0 20px rgba(0,0,0,0.1);
    }

    /* Left and right sections */
    .auth-left,
    .auth-right {
        /*flex: 1 1 45%;*/
        min-width: 280px;
        padding: 0.8rem;
        box-sizing: border-box;
        text-align: left;
    }

        .auth-right p {
            text-align: left;
        }

        .auth-right .login-heading {
            font-size: 1.5rem;
            font-weight: 600;
            letter-spacing: 0.03em;
            color: #555;
        }

    /* alternatives*/

    .auth-right {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        color: #333;
    }
    /* General link styling */
    .auth-left a {
        color: #2575fc;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        display: inline-block; /* Needed for transform to work properly */
    }

        .auth-left a:hover {
            color: #0055cc;
            text-decoration: underline;
            text-shadow: 0 0 2px rgba(37, 117, 252, 0.3);
            transform: translateY(-2px);
        }

    /* WhatsApp icon hover (optional) */
    .auth-right img:hover {
        filter: drop-shadow(0 0 4px rgba(37, 117, 252, 0.4));
        transform: scale(1.05);
        transition: all 0.3s ease;
    }

    .contact-block {
        margin-bottom: 1rem;
        line-height: 1.4;
    }

        .contact-block img {
            vertical-align: middle;
            margin-right: 0.5rem;
        }

    .contact-text {
        margin-top: 0.5rem;
    }

    .contact-block a {
        color: #2575fc;
        text-decoration: none;
        font-weight: 500;
    }

        .contact-block a:hover {
            text-decoration: underline;
        }

    .additional-info {
        margin-top: 1rem;
        font-size: 0.85rem;
        color: #666;
    }
    /* Divider line */
    .auth-divider {
        width: 1px;
        background-color: #ccc;
        flex-shrink: 0;
    }

    /* Headings */
    .login-heading {
        font-size: 2rem;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 1rem;
        color: #333;
        text-align: left;
    }

    /* Input fields */
    form label {
        display: block;
        text-align: left;
        font-weight: 600;
        margin-bottom: 0.25rem;
        color: #333;
    }

    .stacked-input {
        display: block;
        width: 100%;
        padding: 0.75rem;
        font-size: 1rem;
        margin-bottom: 1.25rem;
        border: 1px solid #ccc;
        border-radius: 6px;
        box-sizing: border-box;
    }

    /* Remember me + forgot password */
    .form-actions-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
        flex-wrap: wrap;
    }

    .remember-label {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        cursor: pointer;
    }

        /* Checkbox itself */
        .remember-label input[type="checkbox"] {
            width: 25px;
            height: 25px;
            appearance: none;
            background-color: #fff;
            border: 2px solid #ccc;
            border-radius: 4px;
            position: relative;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }

            /* Fancy border effect */
            .remember-label input[type="checkbox"]:checked {
                border-color: #2575fc;
                box-shadow: 0 0 0 6px rgba(37, 117, 252, 0.2); /* Detached glow */
            }

            /* Fade effect on click */
            .remember-label input[type="checkbox"]:active {
                box-shadow: 0 0 0 6px rgba(37, 117, 252, 0.4);
            }

            /* Checkmark (optional) */
            .remember-label input[type="checkbox"]::after {
                content: "";
                position: absolute;
                top: 2px;
                left: 6px;
                width: 6px;
                height: 12px;
                border: solid #2575fc;
                border-width: 0 2px 2px 0;
                transform: rotate(45deg);
                opacity: 0;
                transition: opacity 0.2s ease;
            }

            .remember-label input[type="checkbox"]:checked::after {
                opacity: 1;
            }

    .forgot-link {
        font-size: 0.95rem;
        color: #2575fc;
        text-decoration: none;
    }

        .forgot-link:hover {
            text-decoration: underline;
        }

    /* Button styling ? pill-shaped */
    .fancy-button {
        background: linear-gradient(to right, #2575fc, #6a11cb);
        background-size: 200% 100%;
        background-position: left center;
        color: #fff;
        border: none;
        border-radius: 50px;
        padding: 0.75rem 2rem;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: background-position 0.4s ease;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

        .fancy-button:hover, .fancy-button a:hover {
            background-position: right center;
        }


/*Responsive layout for mobile */
@media screen and (max-width: 800px) {
    .auth-box {
        flex-direction: column;
    }

    .auth-divider {
        width: 100%;
        height: 1px;
        margin: 1rem 0;
    }

    .login-heading {
        font-size: 1.5rem;
    }
     use more of width on mobile
    .page-wrapper {
        padding: 2rem 0.4rem 2rem 0.4rem;
    }
    .footerleftsection,
    .footerrightsection {
        flex: 1 1 100%;
        text-align: center;
        margin-top: 0.5rem;
    }

        .footerrightsection a {
            margin: 0 0.5rem;
        }
}

/*  How to */

.step-guide {
    background-color: #f5f8fc;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin: 20px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

    .step-guide h2 {
        font-size: 28px;
        margin-bottom: 15px;
        color: #2c3e50;
    }
    .step-guide h3 {
        font-size: 22px;
        margin-bottom: 15px;
        color: #2c3e50;
    }

    .step-guide ol {
        padding-left: 20px;
        margin: 0;
    }

    .step-guide li {
        margin-bottom: 12px;
        padding-left: 5px;
        line-height: 1.6;
        position: relative;
    }

        .step-guide li::marker {
            font-weight: bold;
            color: #0078d7; /* subtle accent color */
        }

/*  Formats page*/
.Formats {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #f9f9fc; /* subtle light background */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    color: #333;
}

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

    .Formats th {
        background-color: #e6eaf3;
        font-weight: bold;
        color: #2c3e50;
    }

    .Formats tr:last-child td {
        border-bottom: none;
    }

    .Formats tr:hover {
        background-color: #f1f3f9;
    }

    /* home page */
.converter-home {
    font-family: Arial, sans-serif;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .converter-home h1 {
        color: #2c3e50;
        /*margin-bottom: 5px;*/
    }

    .converter-home h2 {
        color: #34495e;
    }

    .converter-home p {
        font-size: 16px;
        line-height: 1.6;
    }

    .converter-home ul, .converter-home ol {
        margin-left: 20px;
    }

.quick-links li {
    margin-bottom: 8px;
}

.quick-links a {
    color: #0078d7;
    text-decoration: none;
}

    .quick-links a:hover {
        text-decoration: underline;
    }

/* buttons and links */
.standardbuttonA {
    display: inline-block;
    padding: 2px 10px; /* Spacing inside the button */
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif color: white; /* Text color */
    text-decoration: none; /* Removes underline for anchor-like buttons */
    background-color: #538bfc; /* Initial background color */
    border: 2px solid #6699ff; /* Border matching the background color */
    border-radius: 5px; /* Rounded corners for a modern look */
    cursor: pointer; /* Pointer to indicate interactivity */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    text-align: center; /* Centers the button text */
    color: #fff !important; /* Keep text white on hover */
    font-weight: bolder;
    margin: 2px;
}
    .standardbuttonA:hover {
        background-color: #175ce0; /* Slightly darker blue on hover */
        border-color: #4a7bd9; /* Match hover border color with background */
        color: #fff; /* Keep text white on hover */
        transform: translateY(-2px); /* Slight lift effect on hover */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add subtle shadow on hover */
    }

/* default buttons */
.standardbutton {
    display: inline-block;
    padding: 6px 10px; /* Spacing inside the button */
    font-size: 14px;
    font-family: Arial, sans-serif; /* Simple, readable font */
    color: white; /* Text color */
    text-decoration: none; /* Removes underline for anchor-like buttons */
    background-color: #538bfc; /* Initial background color */
    border: 2px solid #6699ff; /* Border matching the background color */
    border-radius: 5px; /* Rounded corners for a modern look */
    cursor: pointer; /* Pointer to indicate interactivity */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    text-align: center; /* Centers the button text */
}

    .standardbutton:hover {
        background-color: #175ce0; /* Slightly darker blue on hover */
        border-color: #4a7bd9; /* Match hover border color with background */
        color: #ffffff; /* Keep text white on hover */
        transform: translateY(-2px); /* Slight lift effect on hover */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add subtle shadow on hover */
    }

    .standardbutton:active {
        transform: translateY(0); /* Reset lift on active state (button pressed) */
        box-shadow: none; /* Remove shadow for a "pressed" effect */
    }




/* used to change bg colour of linked button */
.standardbuttonRed {
    background-color: #cc0000;
    border: 2px solid #990000;
}
/* used to change bg colour of linked button */
.standardbuttonGreen {
    background-color: #00cc00;
    border: 2px solid #02b402;
}
/* error message on converter page */
.error-message {
    color: #b00020; /* A subtle red tone */
    background-color: #f9dcdc; /* Light red background for contrast */
    border: 1px solid #e0a0a0; /* Soft border */
    padding: 8px 12px;
    margin-top: 8px;
    font-size: 18px;
    border-radius: 4px;
    display: inline-block;
    margin: 20px 0px 20px;
}

/* menus */



.mainmenubar {
    height: 58px;
    background-color: #FAFAFA;
    display: flex; /* Use Flexbox for alignment */
    justify-content: center; /* Horizontally centers the content */
    font-family: 'Segoe UI Light', Arial, Helvetica, sans-serif;
    COLOR: #454545;
    FONT-SIZE: 18px;
    align-items: center; /* Vertically centers the content */
    align-content: center;
    text-align: center;
    width:100%;
}

.staticmenu {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #FAFAFA;
    z-index: 101; /* Dropdown menu appears on top of every other element on website */
    border-bottom: 1px solid #cccccc;
    transition: transform 0.3s ease; /* Smooth hide/show transition */
    text-align: center; /* Ensures text is centered in case of inline elements */
}

/* design page customer upload button*/

.custom-file-upload {
    display: inline-block;
    padding: 10px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
}

