body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #181818;
    color: #f0f0f0;
    display: flex;
    flex-direction: column; /* Stack containers vertically */
    justify-content: flex-start; /* Start from the top */
    align-items: center; /* Center horizontally */
    min-height: 200vh; /* Ensures full viewport height */
}

input[type="text"] {
    width: 100%; 
    padding: 10px; 
    margin: 10px 0; 
    border-radius: 8px; 
    font-size: 1rem; 
    color: #ffffff; 
    background-color: #2c2c2c;
    box-sizing: border-box; 
}

.container, .container2 {
    margin-top: 70px;
    width: 100%; /* Take full width */
    max-width: 1200px; /* Restrict max width */
    font-size: 1.5em;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    padding: 20px; /* Space inside container */
    box-sizing: border-box; /* Ensure padding doesn't affect width */
}

.container2 {
    margin-top: 20px; /* Adds space between container1 and container2 */
}

.left-section {
    padding: 60px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h1 {
    font-size: 2.5em;
    color: #e0e0e0;
    margin-bottom: 15px;
    line-height: 1.2;
}

h1 strong {
    color: #FFC300;
}

p {
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 30px;
}

.button {
    background-color: #FFC300;
    font-size: 1rem;
    color: #181818;
    border: none;
    padding: 25px 30px;
    width: 120px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.button svg {
    width: 20px;
    height: 20px;
    margin-left: 10px;
    fill: #181818;
}

.right-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.right-section img {
    width: 100%; /* Ensure the image scales to fit the container */
    max-width: 300px; /* Restrict the max width of the image */
    height: auto;
    object-fit: contain;
}

.security-graphic {
    width: 70%;
    height: auto;
}

.top-bar {
    font-size: 1.5rem;
    background-color: #302F2F;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
}

.top-bar .left-nav {
    display: flex;
    align-items: center;
}

.top-bar .left-nav .logo-nav {
    display: flex;
    align-items: center;
    margin-right: 40px;
}

.top-bar .left-nav .logo-nav img {
    max-width: 40px; /* Adjust as needed */
    margin-right: 25px;
    height: auto; 
}

.top-bar .left-nav .logo-nav span {
    font-weight: bold;
    font-size: 1.2em;
    color: #e0e0e0;
}

.top-bar .right-nav {
    display: flex;
    align-items: center;
}

.top-bar .right-nav a {
    color: #f0f0f0;
    text-decoration: none;
    margin-left: 20px;
    font-weight: bold;
}

.top-bar .right-nav .mission-button {
    background-color: #FFC300;
    color: #181818;
    padding: 8px 16px;
    border-radius: 4px;
}

.bottom-section {
    padding: 60px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

html {
    scroll-behavior: smooth;
}

.bottom-section {
    padding: 60px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

html {
    scroll-behavior: smooth;
}


.left-nav .logo-nav {
    display: flex;
    align-items: center;
}

.left-nav img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.right-nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.right-nav a:hover {
    color: #007bff;
}

/* Sidebar styling */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 250px;
    background-color: #333;
    padding: 30px 0;
    z-index: 100;
}

/* Button styling for sidebar links */
.sidebar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    padding: 10px 20px;
    margin-bottom: 15px;
}

.sidebar ul li a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 15px;
    border-radius: 8px;
    background-color: #444;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.sidebar ul li a:hover {
    background-color: #555;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Special styling for mission button */
.sidebar ul li a.mission-button {
    background-color: #4CAF50;
    color: rgb(0, 0, 0);
}

.sidebar ul li a.mission-button:hover {
    background-color: #3e8e41;
}

/* Main content (shifted to the right) */
.main-content {
    margin-left: 250px;
    padding: 20px;
}

/* Add responsiveness */
@media (max-width: 768px) {
    .sidebar {
        width: 200px;
    }
    
    .main-content {
        margin-left: 200px;
    }
}

.button2 {
    background-color: #FFC300;
    font-size: 1rem;
    color: #181818;
    border: none;
    padding: 10px 15px;
    width: 200px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

/* Styling the fetch button */
#fetchFileButton {
    background-color: #FFC300; /* Bright color for attention */
    color: #181818; /* Dark text color */
    padding: 10px 0px; /* Add padding for a larger button */
    border: none; /* Remove the default border */
    border-radius: 8px; /* Rounded corners */
    font-size: 1rem; /* Slightly larger text */
    font-weight: bold; /* Bold text */
    cursor: pointer; /* Show pointer on hover */
    text-align: center; /* Center text inside the button */
    width: 100%; /* Make button take full width of the container */
    max-width: 350px; /* Limit button's max width */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

/* Hover effect for the button */
#fetchFileButton:hover {
    background-color: #e0a800; /* Slightly darker yellow for hover effect */
    transform: translateY(-2px); /* Slight upward movement */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
}

#downloadDecryptedButton {
    background-color: #FFC300; /* Bright color for attention */
    color: #181818; /* Dark text color */
    padding: 10px 0px; /* Add padding for a larger button */
    border: none; /* Remove the default border */
    border-radius: 8px; /* Rounded corners */
    font-size: 1rem; /* Slightly larger text */
    font-weight: bold; /* Bold text */
    cursor: pointer; /* Show pointer on hover */
    text-align: center; /* Center text inside the button */
    width: 100%; /* Make button take full width of the container */
    max-width: 350px; /* Limit button's max width */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

/* Hover effect for the button */
#downloadDecryptedButton:hover {
    background-color: #e0a800; /* Slightly darker yellow for hover effect */
    transform: translateY(-2px); /* Slight upward movement */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
}


#registerFileButton {
    background-color: #FFC300; /* Bright color for attention */
    color: #181818; /* Dark text color */
    padding: 10px 0px; /* Add padding for a larger button */
    border: none; /* Remove the default border */
    border-radius: 8px; /* Rounded corners */
    font-size: 1rem; /* Slightly larger text */
    font-weight: bold; /* Bold text */
    cursor: pointer; /* Show pointer on hover */
    text-align: center; /* Center text inside the button */
    width: 20%; 
    max-width: 350px;
    transition: all 0.3s ease; 
}

/* Hover effect for the button */
#registerFileButton:hover {
    background-color: #e0a800; 
    transform: translateY(-2px); 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
}

#checkAccessButton {
    background-color: #FFC300; /* Bright color for attention */
    color: #181818; /* Dark text color */
    padding: 10px 0px; /* Add padding for a larger button */
    border: none; /* Remove the default border */
    border-radius: 8px; /* Rounded corners */
    font-size: 1rem; /* Slightly larger text */
    font-weight: bold; /* Bold text */
    cursor: pointer; /* Show pointer on hover */
    text-align: center; /* Center text inside the button */
    width: 25%; 
    margin-left: 2%;
    max-width: 350px;
    transition: all 0.3s ease; 
}

/* Hover effect for the button */
#checkAccessButton:hover {
    background-color: #e0a800; 
    transform: translateY(-2px); 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
}




#toggleSecretButton {
    
    background-color: #FFC300; /* Bright color for attention */
    color: #181818; /* Dark text color */
    padding: 10px 0px; /* Add padding for a larger button */
    border: none; /* Remove the default border */
    border-radius: 8px; /* Rounded corners */
    font-size: 1rem; /* Slightly larger text */
    font-weight: bold; /* Bold text */
    cursor: pointer; /* Show pointer on hover */
    text-align: center; /* Center text inside the button */
    width: 200%; 
    margin-left: 2%;
    max-width: 350px;
    transition: all 0.3s ease; 
}

/* Hover effect for the button */
#toggleSecretButton:hover {
    background-color: #e0a800; 
    transform: translateY(-2px); 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
}
/* Main Content Styles */
.main-content {
    flex: 1;
    padding: 2rem;
    margin-left: 280px;
}

/* Card Styles */
.card {
    background-color: #333;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.card-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
}

/* Upload Area Styles */
.upload-area {
    padding: 2rem;
    text-align: center;
    border: 2px dashed var(--color-border);
    border-radius: 20px;
    margin: 1.5rem;
    transition: border-color var(--transition);
    cursor: pointer;
    border-color: var(--color-primary);
    background-color: rgba(36, 36, 36, 0.998);
}

.upload-area:hover, 
.upload-area.drag-over {
    border-color: var(--color-primary);
    background-color: rgba(0, 66, 173, 0.301);
}

.upload-area p {
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.file-input-wrapper {
    margin: 1rem 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.selected-file-name {
    display: block;
    margin-top: 0.75rem;
    font-weight: 500;
    color: var(--color-text);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    padding: 0.675rem 1.25rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    font-size: 0.9rem;
    gap: 0.5rem;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background-color: var(--color-primary-dark);
}

.btn-secondary {
    background-color: rgb(0, 0, 0);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover:not(:disabled) {
    background-color: var(--color-background);
    border-color: var(--color-text-light);
}

/* Action Buttons Container */
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0 1.5rem 1.5rem;
}

/* Icon Styles */
.icon {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
}


/* Status Container Styles */
.status-container {
    padding: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.status {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.status.success {
    color: var(--color-success);
}

.status.error {
    color: var(--color-danger);
}

.status.warning {
    color: var(--color-warning);
}

/* Progress Bar Styles */
.progress {
    width: 100%;
    height: 0.5rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: none;
    background-color: var(--color-border);
}

.progress::-webkit-progress-bar {
    background-color: var(--color-border);
}

.progress::-webkit-progress-value {
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.progress::-moz-progress-bar {
    background-color: var(--color-primary);
}

/* Special styling for mission button */
.sidebar ul li a.mission-button {
    background-color: #FFC300;
    color: black;
}

.sidebar ul li a.mission-button:hover {
    background-color: #ad8500;
    color: black;
}
.welcome-message {
    margin: 40px auto;
    max-width: 600px;
    background-color: #252525;
    padding: 100px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin-right: 150px;
}

.welcome-message h1 {
    font-size: 2rem;
    color: #FFC300;
    margin-bottom: 10px;
}

.welcome-message p {
    font-size: 1.2rem;
    color: #f0f0f0;
}
#toggleSecretButton {
    display: inline-block;
    margin: 10px 0;
    background-color: #FFC300;
    color: #181818;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    width: auto; /* Adjust width */
    max-width: 350px;
    transition: all 0.3s ease;
}
#secretInfo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid #ccc;
    margin-top: 10px;
}