* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f0f2f5;
    padding: 20px;
    min-height: 100vh;
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

h1 {
    color: #1a73e8;
    font-size: 2.5rem;
    font-weight: 600;
}

.notice {
    background-color: #fff3cd;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.file-info {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.file-name {
    margin-bottom: 25px;
}

.file-name label {
    display: block;
    margin-bottom: 8px;
    color: #444;
    font-weight: 500;
}

#fileName {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: #f8f9fa;
    cursor: default;
}

#fileName:focus {
    outline: none;
    border-color: #e1e1e1;
}

.file-details {
    margin-bottom: 25px;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
}

.detail {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.detail:last-child {
    border-bottom: none;
}

.label {
    color: #666;
    font-weight: 500;
}

.value {
    color: #1a73e8;
    font-weight: 500;
}

.generate-btn {
    background-color: #1a73e8;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.3s ease;
}

.generate-btn:hover {
    background-color: #1557b0;
}

.generate-btn:active {
    transform: scale(0.98);
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .file-info {
        padding: 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
}

/* Styles for home page and back button */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.app-card {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.app-card img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.app-card h2 {
    margin: 0 0 10px 0;
    color: #1a73e8;
    font-size: 1.25rem;
}

.app-card p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.back-btn {
    display: inline-block;
    text-decoration: none;
    color: #1a73e8;
    margin-top: 10px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.back-btn:hover {
    color: #1557b0;
}