/* Paarzeit Formular Styles */
.paarzeit-form-wrapper {
    width: 100%;
    max-width: 42rem;
    margin: 0 auto;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 5px 5px 5px 5px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .paarzeit-form-wrapper {
        padding: 2rem;
    }
}

.paarzeit-form-step {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.paarzeit-field-group {
    margin-bottom: 1.5rem;
}

.paarzeit-field-group label {
    display: block;
    font-size: 1.125rem;
    font-weight: 500;
    color: inherit;
    margin-bottom: 0.5rem;
}

.paarzeit-field-group textarea,
.paarzeit-field-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 5px 5px 5px 5px;
    border: 1px solid #d1d5db;
    background-color: rgba(255, 255, 255, 0.9);
    color: inherit;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 1rem;
}

.paarzeit-field-group textarea {
    resize: vertical;
    min-height: 120px;
}

.paarzeit-field-group textarea:focus,
.paarzeit-field-group input:focus {
    border-color: #67764F;
}

.paarzeit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 9px 12px;
    background-color: #67764F !important;
    color: #ffffff !important;
    border-radius: 5px 5px 5px 5px !important;
    font-weight: 700;
    font-size: 16px;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    box-sizing: border-box;
    font-family: inherit;
    text-decoration: none !important;
}

.paarzeit-btn:hover:not(:disabled),
.paarzeit-btn:focus:not(:disabled) {
    background-color: #5a6844 !important;
    color: #ffffff !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.paarzeit-btn:active:not(:disabled) {
    background-color: #5a6844 !important;
    transform: scale(0.98);
    color: #ffffff !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.paarzeit-btn:disabled {
    background-color: #67764F !important;
    color: #ffffff !important;
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

.paarzeit-btn-outline {
    background-color: transparent !important;
    border: 2px solid #67764F !important;
    color: #67764F !important;
}

.paarzeit-btn-outline:hover:not(:disabled),
.paarzeit-btn-outline:focus:not(:disabled),
.paarzeit-btn-outline:active:not(:disabled) {
    background-color: rgba(103, 118, 79, 0.1) !important;
    color: #67764F !important;
    border: 2px solid #67764F !important;
    outline: none !important;
    box-shadow: none !important;
}

.paarzeit-btn-outline svg {
    stroke: #67764F !important;
}

.paarzeit-btn-text {
    background: none;
    border: none;
    color: inherit;
    opacity: 0.6;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.875rem;
    padding: 0;
    transition: opacity 0.2s;
}

.paarzeit-btn-text:hover {
    opacity: 1;
}

.paarzeit-message-preview {
    background-color: rgba(255, 255, 255, 0.6);
    padding: 1.5rem;
    border-radius: 5px 5px 5px 5px;
    border: 1px solid #e5e7eb;
    position: relative;
    margin-bottom: 2rem;
}

.paarzeit-message-preview #paarzeit-btn-edit {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.paarzeit-preview-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: inherit;
    opacity: 0.7;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.paarzeit-preview-text {
    color: inherit;
    white-space: pre-wrap;
    font-style: italic;
    margin: 0;
}

.paarzeit-step-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: inherit;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.paarzeit-optional-text {
    color: inherit;
    opacity: 0.7;
    font-weight: 400;
    font-size: 1.125rem;
}

.paarzeit-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .paarzeit-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.paarzeit-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
}

@media (min-width: 640px) {
    .paarzeit-actions {
        flex-direction: row;
    }
    .paarzeit-actions #paarzeit-btn-back {
        order: 1;
    }
    .paarzeit-actions #paarzeit-btn-submit {
        order: 2;
        flex: 1;
    }
}

.paarzeit-success-step {
    text-align: center;
    padding: 3rem 0;
}

.paarzeit-success-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.paarzeit-success-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: inherit;
    margin-bottom: 1rem;
    margin-top: 0;
}

@media (min-width: 768px) {
    .paarzeit-success-title {
        font-size: 1.875rem;
    }
}

.paarzeit-success-text {
    color: inherit;
    opacity: 0.8;
    max-width: 28rem;
    margin: 0 auto 2rem auto;
}

.paarzeit-success-actions {
    padding-top: 2rem;
}

/* Loading Spinner */
.paarzeit-spinner {
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
