/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to left, #f0f4f8, #dbeafe);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 100px;
    padding-bottom: 100px;
}

.feature-icon {
    font-size: 2rem;
    color: #0d6efd;
}
.feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}
.feature-text {
    margin-left: 1rem;
}

/* Pasek nawigacyjny */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    z-index: 1000;
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.navbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px;
}

.navbar-left span {
    font-size: 34px;
    font-weight: 500;
}

.logo-icon {
    font-size: 1.5rem;
    color: #2d89ef;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.navbar-right .login-btn {
    background-color: #0d6efd;
    border: none;
    color: white;
    padding: 8px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.navbar-right .login-btn:hover {
    background-color: #1b5dab;
}

.container {
    margin-top: 15px;
    width: 860px;
}

ul.feature-list li {
  margin-bottom: 4px;
}

/* Kontener upload */
.upload-container {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px 25px;
    width: 100%;
    max-width: 650px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: center;
    color: #333;
}

input[type="file"] {
    width: 100%;
    margin: 15px 0;
    padding: 10px;
    font-size: 0.95rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #f9f9f9;
}

.file-upload-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.file-upload-icon {
    cursor: pointer;
    display: inline-block;
}

.file-upload-icon i {
    font-size: 5rem;      
    color: #0d6efd;     
    transition: transform 0.2s ease;
}

.file-upload-icon i:hover {
    transform: scale(2.2); 
    color: #0a58ca;
}

#fileName {
    font-size: 0.9rem;
    color: #555;
    word-break: break-word;
    text-align: center;
}

#fileInfo {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 10px;
    font-weight: 700;
    text-align: center;
}

#uploadBtn {
    width: 100%;
    padding: 12px;
    background-color: #2d89ef;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

#uploadBtn:hover {
    background-color: #1b5dab;
}

.progress {
    height: 24px;
}

#progressContainer {
    margin-top: 20px;
}

#progressBar {
    width: 100%;
    appearance: none;
}

#progressBar::-webkit-progress-bar {
    background-color: #eee;
    border-radius: 10px;
}

#progressBar::-webkit-progress-value {
    background-color: #2d89ef;
    border-radius: 10px;
}

#speedInfo {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: #444;
    text-align: center;
}

#message {
    margin-top: 20px;
    text-align: center;
    font-size: 1rem;
    border: 1px solid;
    border-radius: 12px;
    padding: 6px;
    transform: translateY(10px);
    transition: all 0.4s ease-in-out;
}

#message.show {
    opacity: 1;
    transform: translateY(0);
}

#processing {
    text-align: center;
    font-weight: bold;
    color: #333;
    margin-top: 20px;
}

@media (max-width: 576px) {
    .custom-tabs .nav-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 12px!important; 
        padding: 6px;
    }

    .custom-tabs .nav-link i {
        margin-bottom: 0.25rem;
        margin-right: 0; 
        font-size: 24px;
    }

    .container {
        margin-top: 5px;
        width: 100%;
    }
    .navbar-left img {
        width:75px;
    }
    .navbar-left span {
        font-size: 18px;
    }

    .upload-container {
        padding: 25px 20px;
        border-radius: 12px;
    }

    h2 {
        font-size: 1.3rem;
    }

    .file-upload-icon i {
        font-size: 4rem;
    }

    #fileName {
        font-size: 0.85rem;
    }

    #uploadBtn {
        font-size: 0.95rem;
        padding: 10px;
    }

    .progress {
        height: 18px;
    }

    #progressBar {
        height: 18px;
    }

    #speedInfo {
        font-size: 0.8rem;
    }

    #message {
        font-size: 0.9rem;
        padding: 5px;
    }

    #processing {
        font-size: 0.95rem;
    }

    .navbar {
        padding: 0 16px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .login-btn {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    h5 {
        font-size: 0.8rem;
    }
}


.custom-tabs {
    background-color: #0C6EFC;
    border-radius: 25px;
    padding: 4px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.custom-tabs .nav-link {
    border-radius: 25px!important;
    font-weight: 500;
    font-size: 18px;
}

.nav {
    --bs-nav-link-color: #ffffff!important;
    --bs-nav-link-hover-color: #eeeeee!important;
    --bs-nav-pills-link-active-bg: #ffffff!important;
    --bs-nav-pills-link-active-color: #000000!important;
}

.custom-tabs .nav-link:active {
    background-color: #ffffff!important;
    color: #000000!important;
}

.card {
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}

#loadMainBtn {
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}
