/* PurpleTime API Manager - Simple Styles */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: white;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    color: #6c5ce7;
    font-size: 24px;
}

header a {
    color: #6c5ce7;
    text-decoration: none;
}

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

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

main {
    flex: 1;
}

footer {
    text-align: center;
    padding: 20px;
    color: #666;
    margin-top: 40px;
}

/* Hero Section */
.hero {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    margin-bottom: 30px;
}

.hero h2 {
    color: #333;
    margin-bottom: 10px;
}

.hero p {
    color: #666;
}

/* Actions */
.actions {
    text-align: center;
    margin-bottom: 30px;
}

.actions .btn {
    margin: 0 10px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary {
    background: #6c5ce7;
    color: white;
}

.btn-primary:hover {
    background: #5a4cd6;
}

.btn-secondary {
    background: #636e72;
    color: white;
}

.btn-secondary:hover {
    background: #52585c;
}

.btn-small {
    padding: 6px 12px;
    font-size: 14px;
}

/* Features */
.features {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.features h3 {
    margin-bottom: 15px;
    color: #333;
}

.features ul {
    list-style: none;
    padding-left: 0;
}

.features li {
    padding: 8px 0;
    color: #666;
}

.features li:before {
    content: "✓ ";
    color: #6c5ce7;
    font-weight: bold;
    margin-right: 8px;
}

/* Links */
.links {
    text-align: center;
}

.links a {
    color: #6c5ce7;
    text-decoration: none;
    margin: 0 15px;
}

.links a:hover {
    text-decoration: underline;
}

/* Form Styles */
.form-container {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 500px;
    margin: 0 auto;
}

.form-container h2 {
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #6c5ce7;
}

.form-group button {
    width: 100%;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.form-footer a {
    color: #6c5ce7;
    text-decoration: none;
}

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

/* Messages */
.error-message {
    background: #fee;
    color: #c33;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #fcc;
}

.success-message {
    background: #efe;
    color: #3c3;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #cfc;
}

/* Dashboard */
.dashboard {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.dashboard h2 {
    margin-bottom: 30px;
    color: #333;
}

.dashboard-section {
    margin-bottom: 30px;
}

.dashboard-section h3 {
    margin-bottom: 15px;
    color: #555;
    font-size: 18px;
}

.info-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.info-card p {
    margin-bottom: 10px;
}

.info-card p:last-child {
    margin-bottom: 0;
}

/* API Key Container */
.api-key-container {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.api-key-container input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: monospace;
    font-size: 14px;
}

.info-text {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .actions .btn {
        display: block;
        margin: 10px 0;
    }
}

