/* ===============================
   CALEVID FRONTEND STYLES
=============================== */

/* General layout */
.calevid-dashboard, .calevid-pricing, #calevid-generate-form, #calevid-invoices {
    max-width: 900px;
    margin: 30px auto;
    padding: 25px;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.calevid-dashboard:hover, .calevid-pricing:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

/* Headings */
.calevid-dashboard h2, .calevid-pricing h2 {
    color: #1d1f27;
    font-size: 28px;
    margin-bottom: 15px;
    text-align: center;
}

/* Dashboard user info */
.calevid-dashboard p {
    font-size: 16px;
    margin: 8px 0;
}

.calevid-dashboard a {
    display: inline-block;
    margin: 10px 5px;
    padding: 10px 20px;
    background: #6c63ff;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.2s ease;
}

.calevid-dashboard a:hover {
    background: #5a52e6;
    transform: translateY(-2px);
}

/* Generate form */
#calevid-generate-form textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #ddd;
    resize: vertical;
    transition: border 0.3s ease;
}

#calevid-generate-form textarea:focus {
    border-color: #6c63ff;
    outline: none;
}

#calevid-generate-form button {
    margin-top: 12px;
    padding: 12px 25px;
    background: #6c63ff;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

#calevid-generate-form button:hover {
    background: #5a52e6;
    transform: translateY(-2px);
}

/* Pricing page */
.calevid-pricing .pricing-plans {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 25px;
}

.calevid-pricing .plan-card {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 20px;
    width: 250px;
    text-align: center;
    margin: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.calevid-pricing .plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.calevid-pricing .plan-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #1d1f27;
}

.calevid-pricing .plan-card p {
    margin: 6px 0;
    font-size: 16px;
}

.calevid-pricing .plan-card button {
    margin-top: 12px;
    padding: 10px 20px;
    background: #6c63ff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.calevid-pricing .plan-card button:hover {
    background: #5a52e6;
    transform: translateY(-2px);
}

/* Invoices table */
#calevid-invoices table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

#calevid-invoices th, #calevid-invoices td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

#calevid-invoices th {
    background: #6c63ff;
    color: #fff;
    font-weight: 500;
}

#calevid-invoices tr:hover {
    background: #f2f2f2;
}

/* Result container */
#calevid-generate-result {
    margin-top: 15px;
    font-size: 16px;
    color: #1d1f27;
    min-height: 30px;
}

/* Animations */
.calevid-fade-in {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.6s forwards;
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0);}
}
