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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

.header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.1rem;
    color: #7f8c8d;
}

/* Card Styles */
.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.card-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #2c3e50;
    font-weight: 500;
    position: relative;
    padding-bottom: 10px;
}

.card-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #3498db;
    border-radius: 2px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.textarea-control {
    min-height: 200px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    cursor: pointer;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    font-style: normal;
}

.btn i,
.paste-links a i,
.links a i {
    margin-right: 8px;
    font-style: normal;
}

.btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn:active {
    transform: translateY(0);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Paste List Styles */
.paste-list {
    margin-top: 30px;
}

.paste-item {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.paste-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-color: #3498db;
}

.paste-title {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.paste-title a {
    color: #3498db;
    text-decoration: none;
}

.paste-title a:hover {
    text-decoration: underline;
}

.paste-meta {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.paste-meta span {
    display: flex;
    align-items: center;
}

.paste-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.paste-links a {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
}

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

/* Badge Styles */
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: 5px;
}

.badge-burn {
    background-color: #e74c3c;
    color: white;
}

.badge-password {
    background-color: #9b59b6;
    color: white;
}

.badge-unlisted {
    background-color: #7f8c8d;
    color: white;
}

/* Error Styles */
.error {
    color: #d32f2f;
    background-color: #ffebee;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

/* Links Styles */
.links {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.links a {
    display: inline-block;
    padding: 10px 15px;
    background: #f1f1f1;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.links a:hover {
    background: #e0e0e0;
}

/* Paste Content Styles */
.paste-content {
    white-space: pre-wrap;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #eee;
    margin-bottom: 25px;
    overflow-x: auto;
}

/* No Pastes Message */
.no-pastes {
    text-align: center;
    color: #7f8c8d;
    padding: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .card {
        padding: 20px;
    }

    .card-title {
        font-size: 1.5rem;
    }

    .header h1 {
        font-size: 2rem;
    }

    .paste-meta {
        flex-direction: column;
        gap: 8px;
    }

    .paste-links {
        flex-direction: column;
        gap: 5px;
    }

    .paste-links a {
        width: 100%;
    }

    .links {
        flex-direction: column;
    }

    .links a {
        width: 100%;
        text-align: center;
    }
}
