/* Common styles for all screen sizes */

body {
    background-color: #f1f1f1;
    margin: 20px; /* Add margin to create a gap */
    padding: 0;
    font-family: Arial, sans-serif;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.centered-note {
    text-align: center;
    font-size: 12px;
    color: grey;
    margin-top: 10px;
}

.note {
    font-size: 12px;
    font-family: Verdana, sans-serif;
}

.data-table {
    width: 70%;
    margin: 0 auto; /* Center the table horizontally within its container */
    font-size: 12px;
    font-family: Verdana, sans-serif;
    border-collapse: collapse; /* Add to create proper table borders */
}

.data-table td {
    padding: 8px;
    border: 1px solid #ddd;
    color: black; /* Set the text color to black for data cells */
}

.data-table th {
    background-color: #f2f2f2; /* Background color for title cells */
    color: grey; /* Text color for title cells */
    padding: 8px;
    text-align: left; /* Align title cells to the left */
    border: 1px solid #ddd;
}

.centered {
    text-align: center; /* Align data cells to the right */
}



h4 {
    color: #4caf50;
}

.button {
    cursor: pointer; /* Add this line */
    display: block;
    width: 200px;
    margin: 0 auto;
    padding: 10px;
    background-color: #4caf50;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #45a049;
}

.code-box {
    background-color: #f1f1f1;
    border-radius: 4px;
    padding: 10px;
    margin-top: 20px;
    text-align: center;
}

.code-box code {
    display: block;
    font-family: monospace;
    margin-bottom: 10px;
}

.link-input {
    width: 400px;
    text-align: center;
}

.copy-button {
    background-color: transparent;
    color: #4caf50;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 16px;
    transition: color 0.3s ease;
}

.copy-button:hover {
    color: #45a049;
}

.copy-button-disabled {
    color: #45a049;
}

.link-container {
    font-size: 12px;
}

.link {
    color: #4caf50;
    text-decoration: none;
}

.link:hover {
    color: #45a049;
}

input[type="file"] {
    display: none;
}

.custom-file-upload {
    border: 1px solid #4caf50;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
	background: #F1F1F1;
}
a[href="mailto:report@sharemy.zip"] {text-decoration:none;color:#4caf50;}

.small-text {
  font-size: 80%;
  color: #888; /* Adjust the color as needed */
}

.generating-link-text {
  font-size: 80%; /* Adjust font size */
  color: #4caf50; /* Adjust text color */
  margin-top: 5px; /* Adjust spacing if needed */
}

.archive-container {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    width: 100%;
    box-sizing: border-box;
}

#archive-contents {
    font-family: monospace;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    width: 100%;
}
        #show-more {
            margin-top: 10px;
        }
        #show-more-button {
            display: inline-block;
            width: 20px;
            height: 20px;
            line-height: 20px;
            text-align: center;
            background-color: #f0f0f0;
            border: 1px solid #ccc;
            border-radius: 50%;
            cursor: pointer;
        }


/* Responsive styles for small screens */

@media screen and (max-width: 600px) {
    .container {
        padding: 10px;
    }

    .note,
    .centered-note {
        font-size: 10px;
    }

    .button {
        width: 100%;
        margin-top: 10px;
    }

    .link-input {
        width: 100%;
    }
}
