/* src/source-interface/styles/main.css */
:root {
    --primary-color: #2a4d69;
    --secondary-color: #4b86b4;
    --accent-color: #adcbe3;
    --background-color: #f7f7f7;
    --text-color: #333333;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --border-radius: 4px;
    --box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    padding: 0;
    margin: 0;
}

header {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

header .tagline {
    font-size: 1.2rem;
    opacity: 0.9;
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.section {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
}

h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h3 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

.security-notice {
    background-color: #f8f9fa;
    border-left: 4px solid var(--warning-color);
    padding: 1rem;
    margin: 1.5rem 0;
}

.security-notice ul {
    margin-left: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

label.optional::after {
    content: " (optional)";
    font-weight: normal;
    font-style: italic;
    color: #666;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(75, 134, 180, 0.2);
}

button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

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

.primary-button:hover {
    background-color: #1c3a51;
}

.secondary-button {
    background-color: #e9ecef;
    color: #495057;
}

.secondary-button:hover {
    background-color: #dee2e6;
}

.button-group {
    display: flex;
    gap: 1rem;
}

.codename-container {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
}

.codename {
    font-family: monospace;
    font-size: 1.2rem;
    background-color: #fff;
    padding: 1rem;
    border: 1px dashed #ccc;
    margin: 0.5rem 0;
    word-break: break-all;
}

.important-notice {
    background-color: #fff8e1;
    border-left: 4px solid var(--warning-color);
    padding: 1rem;
    margin: 1rem 0;
}

progress {
    width: 100%;
    height: 20px;
}

footer {
    background-color: #343a40;
    color: white;
    text-align: center;
    padding: 1.5rem 1rem;
    margin-top: 2rem;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Modal styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive styles */
@media (max-width: 600px) {
    header h1 {
        font-size: 2rem;
    }

    header .tagline {
        font-size: 1rem;
    }

    .button-group {
        flex-direction: column;
    }
}

/* src/source-interface/manifest.json */
{
"name": "CloudDrop",
"short_name": "CloudDrop",
"description": "Secure whistleblowing platform",
"start_url": "/",
"display": "standalone",
"background_color": "#ffffff",
"theme_color": "#2a4d69",
"icons": [
{
"src": "/images/icon-192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/images/icon-512.png",
"sizes": "512x512",
"type": "image/png"
}
]
}