/* Base Styles */
.filzapp-party-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 25px;
    border-radius: 16px;
    background: #f9fbff;
    box-shadow: 0 4px 20px rgba(1, 61, 223, 0.1);
    font-family: 'Poppins', sans-serif;
}

.filzapp-header {
    text-align: center;
    margin-bottom: 30px;
}

.filzapp-icon-circle {
    width: 60px;
    height: 60px;
    background: #013ddf;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.filzapp-header h2 {
    margin: 0;
    color: #013ddf;
    font-size: 24px;
    font-weight: 600;
}

.filzapp-header p {
    color: #666;
    font-size: 15px;
    margin: 5px 0 0;
}

/* Success Message */
.filzapp-success-message {
    background: #4CAF50;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}

/* Tabs */
.filzapp-tabs {
    display: flex;
    border-bottom: 1px solid #e0e7ff;
    margin-bottom: 20px;
}

.tab-button {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    position: relative;
}

.tab-button.active {
    color: #013ddf;
    font-weight: 600;
}

.tab-button.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #013ddf;
    border-radius: 3px 3px 0 0;
}

.filzapp-tab-content {
    display: none;
}

.filzapp-tab-content.active {
    display: block;
}

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

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #444;
    font-weight: 500;
    font-size: 14px;
}

.required {
    color: #ff4444;
}

input[type="text"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="tel"]:focus,
textarea:focus {
    border-color: #013ddf;
    box-shadow: 0 0 0 3px rgba(1, 61, 223, 0.1);
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

/* Buttons */
.filzapp-primary-btn {
    background: #013ddf;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.filzapp-primary-btn:hover {
    background: #012fa8;
    transform: translateY(-2px);
}

.filzapp-secondary-btn {
    background: white;
    color: #013ddf;
    border: 1px solid #013ddf;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.filzapp-secondary-btn:hover {
    background: #f0f7ff;
}

.filzapp-secondary-btn.small {
    padding: 6px 12px;
    font-size: 13px;
}

/* Party List Styles */
.party-search {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.party-search input {
    flex: 1;
}

.party-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.party-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.party-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-left: 3px solid #013ddf;
    transition: all 0.3s ease;
}

.party-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.party-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.party-card-header h3 {
    margin: 0;
    color: #013ddf;
    font-size: 18px;
}

.party-gst {
    background: #f0f7ff;
    color: #013ddf;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.party-card-body p {
    margin: 5px 0;
    color: #555;
    font-size: 14px;
}

.party-card-body strong {
    color: #333;
}

.party-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.party-card-actions button {
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.edit-party {
    background: #ffc107;
    color: #333;
    border: none;
}

.edit-party:hover {
    background: #e0a800;
}

.delete-party {
    background: #dc3545;
    color: white;
    border: none;
}

.delete-party:hover {
    background: #c82333;
}

.no-parties {
    text-align: center;
    padding: 30px;
    color: #666;
    background: #f9f9f9;
    border-radius: 8px;
}

/* Login Alert */
.filzapp-login-alert {
    padding: 20px;
    background: #fff5f5;
    color: #dc3545;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #dc3545;
    font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 600px) {
    .filzapp-party-container {
        padding: 15px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .party-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .party-gst {
        align-self: flex-start;
    }
}