* {
    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);
}

.ad-space {
    margin: 30px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.ad-space + .file-info,
.file-info + .ad-space {
    margin-top: 40px;
}

.ad-space + .ad-space {
    margin-top: 20px;
}

.ad-placeholder {
    width: 728px;
    height: 90px;
    background-color: #f0f2f5;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.9rem;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .ad-placeholder {
        width: 100%;
        max-width: 728px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .file-info {
        padding: 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
} 