/**
 * Party Manager Public Styles
 */

/* General Form Styling */
.pm-form-container {
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 30px auto;
    max-width: 800px;
    padding: 25px;
}

.pm-form-title {
    border-bottom: 1px solid #e5e5e5;
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    text-align: center;
}

.pm-form-description {
    color: #555;
    font-size: 16px;
    margin-bottom: 25px;
    text-align: center;
}

.pm-event-details {
    background-color: #fff;
    border-radius: 5px;
    margin-bottom: 25px;
    padding: 20px;
}

.pm-event-details h3 {
    color: #333;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 15px;
}

.pm-form-section {
    margin-bottom: 25px;
}

.pm-form-group {
    margin-bottom: 15px;
}

.pm-form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.pm-form-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.pm-form-options label {
    align-items: center;
    cursor: pointer;
    display: flex;
}

.pm-form-options input[type="radio"] {
    margin-right: 10px;
}

.pm-form-select {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    padding: 10px;
    width: 100%;
    max-width: 200px;
}

.pm-form-textarea {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 16px;
    min-height: 100px;
    padding: 10px;
    resize: vertical;
    width: 100%;
}

.pm-form-submit {
    background-color: #4CAF50;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    margin-top: 15px;
    padding: 12px 30px;
    text-align: center;
    transition: background-color 0.3s;
}

.pm-form-submit:hover {
    background-color: #45a049;
}

.pm-form-submit:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* RSVP Form Specific Styles */
.pm-rsvp-status-selection p {
    font-weight: 600;
    margin-bottom: 10px;
}

.pm-additional-guests {
    background-color: #f0f8ff;
    border-left: 4px solid #4CAF50;
    border-radius: 4px;
    margin-bottom: 20px;
    margin-top: 10px;
    padding: 15px;
}

/* Review Form Specific Styles */
.pm-star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.pm-star-rating input {
    display: none;
}

.pm-star-rating label {
    color: #ddd;
    cursor: pointer;
    font-size: 30px;
    padding: 0 5px;
}

.pm-star-rating label:before {
    content: "★";
}

.pm-star-rating input:checked ~ label,
.pm-star-rating label.selected,
.pm-star-rating label.hover {
    color: #ffb700;
}

.pm-star-rating label:hover,
.pm-star-rating label:hover ~ label {
    color: #ffb700;
}

.pm-review-comment {
    margin-top: 15px;
}

/* Message Styles */
.pm-message {
    border-radius: 4px;
    margin: 15px 0;
    padding: 12px 15px;
}

.pm-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.pm-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.pm-info {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.pm-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
}

/* Calendar Buttons Styles */
.pm-calendar-buttons {
    margin-top: 25px;
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
}

.pm-calendar-buttons h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.pm-calendar-buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pm-calendar-button {
    display: inline-block;
    padding: 8px 15px;
    margin-bottom: 10px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    color: #333;
    transition: all 0.3s;
}

.pm-calendar-button:hover {
    background-color: #e9e9e9;
    text-decoration: none;
}

.pm-google-calendar {
    background-color: #4285F4;
    border-color: #4285F4;
    color: white;
}

.pm-google-calendar:hover {
    background-color: #3367d6;
    border-color: #3367d6;
}

.pm-outlook-calendar {
    background-color: #0078d4;
    border-color: #0078d4;
    color: white;
}

.pm-outlook-calendar:hover {
    background-color: #006cbe;
    border-color: #006cbe;
}

.pm-yahoo-calendar {
    background-color: #720e9e;
    border-color: #720e9e;
    color: white;
}

.pm-yahoo-calendar:hover {
    background-color: #5f0b84;
    border-color: #5f0b84;
}

.pm-ical-calendar {
    background-color: #ff9500;
    border-color: #ff9500;
    color: white;
}

.pm-ical-calendar:hover {
    background-color: #e68600;
    border-color: #e68600;
}

/* Responsive Adjustments */
@media screen and (min-width: 768px) {
    .pm-form-options {
        flex-direction: row;
        gap: 30px;
    }
    
    .pm-form-submit-container {
        text-align: center;
    }
}
