/* Basic styling for the entire app */
body {
    font-family: Arial, sans-serif;
    background-image: url("../images/gold.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    text-align: center;
    color: #333;
}

/* Styling for the header */
.header {
    background-image: url("../images/gold.jpg");
    background-size: cover;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 24px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Container for the content */
.container {
    background-color: rgba(255, 255, 255, 0.9);
    margin: 50px auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
}

/* Button styling */
button {
    font-size: 16px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px; /* Ensures rounded corners */
    cursor: pointer;
    margin: 5px;
    transition: background-color 0.3s ease;
}

/* Green button style */
.green-button {
    background-color: #28a745;
    color: white;
    border-radius: 5px; /* Ensures rounded corners */
}

.green-button:hover {
    background-color: #218838;
}

/* Red button style */
.red-button {
    background-color: #dc3545;
    color: white;
    border-radius: 5px; /* Ensures rounded corners */
}

.red-button:hover {
    background-color: #c82333;
}

/* Green button style for form submission */
.upload-green-button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin: 5px;
    transition: background-color 0.3s ease;
}

.upload-green-button:hover {
    background-color: #218838;
}

/* Anchor tag styled as button */
a.green-button, a.red-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    text-decoration: none;
    margin: 5px;
    color: white;
}

a.green-button {
    background-color: #28a745;
}

a.green-button:hover {
    background-color: #218838;
}

a.red-button {
    background-color: #dc3545;
}

a.red-button:hover {
    background-color: #c82333;
}

/* Button container to manage button layout */
.button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Adds spacing between buttons */
    margin-top: 20px;
}

/* Link styling */
a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    color: #0056b3;
}

/* Input file styling */
input[type="file"] {
    margin: 10px 0;
}

/* Form styling */
form {
    margin-top: 20px;
}

/* Styling for the hash display area */
#hash-code-container {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    word-wrap: break-word;
    margin: 20px 0;
}

/* Hash code styling */
#hash-code {
    background-color: #e9ecef;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

/* Security icons styling */
.security-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.security-icons img {
    width: 50px;
    height: auto;
    margin: 0 10px;
}

/* Trust badge styling */
.trust-badge {
    font-size: 14px;
    color: #555;
    margin-top: 5px;
}

/* Responsive design */
@media (max-width: 600px) {
    .container {
        width: 95%;
    }
    .header {
        font-size: 20px;
    }
    .button-container {
        flex-direction: column;
    }
}

/* Styling for form input containers */
.input-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 15px;
}

input[type="file"],
input[type="text"] {
    width: 100%;
    max-width: 400px;
}