.dps-container {
}
.dps-loading,
.dps-success {
text-align: center;
padding: 40px;
}
.dps-success h2 {
color: var(--primary);
margin-bottom: 15px;
}
.dps-cart-summary {
display: flex;
justify-content: space-between;
align-items: center;
padding: 18px 25px;
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
border-radius: 10px;
margin-bottom: 40px;
font-weight: 600;
font-size: 1.05em;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
border: 1px solid #dee2e6;
}
.dps-players-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: var(--space-m);
}
.dps-team-photo-card {
grid-column: 1 / -1;
}
@media (max-width: 1200px) {
.dps-players-grid {
grid-template-columns: repeat(3, 1fr);
}
}
@media (max-width: 768px) {
.dps-players-grid {
grid-template-columns: repeat(2, 1fr);
gap: var(--space-m);
}
}
@media (max-width: 480px) {
.dps-players-grid {
grid-template-columns: 1fr;
}
}
.dps-player-card {
background: var(--primary);
overflow: hidden;
transition: all 0.5s ease-in-out;
display: flex;
flex-direction: column;
box-shadow: var(--box-shadow-3);
}
.dps-player-card:hover {
transform: translateY(-10px);
transition-duration: .5s;
}
.dps-player-image {
width: 100%;
aspect-ratio: 810 / 1134;
object-fit: cover;
display: block;
background: #f5f5f5;
transition-duration: .5s;
}
.dps-team-photo-image {
aspect-ratio: 1200 / 857;
}
.dps-player-placeholder {
width: 100%;
aspect-ratio: 810 / 1134;
background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
display: flex;
align-items: center;
justify-content: center;
color: #999;
font-size: 0.9em;
}
.dps-team-photo-placeholder {
aspect-ratio: 1200 / 857;
}
.dps-player-info {
display: flex;
flex-direction: row;
width: 100%;
min-height: 60px;
z-index: 10;
}
.dps-player-number-col {
width: 25%;
background: var(--accent);
display: flex;
align-items: center;
justify-content: center;
padding: var(--space-s);
}
.dps-player-name-col {
width: 75%;
background: var(--primary);
display: flex;
align-items: center;
justify-content: center;
padding: var(--space-s);
}
.dps-player-number {
font-size: var(--h1);
color: var(--primary);
font-weight: 400;
font-family: 'authority-italic';
margin: 0;
line-height: 1;
}
.dps-player-name-col h3 {
margin: 0;
font-size: var(--text-l);
color: var(--white);
font-weight: 500;
line-height: 1;
}
.dps-team-photo-info {
padding: 20px;
text-align: center;
background: var(--primary);
}
.dps-team-photo-info h3 {
margin: 0;
font-size: var(--text-l);
color: var(--white);
font-weight: 500;
line-height: 1.3;
}
.dps-player-actions {
padding: var(--space-s);
background: var(--primary);
}
.dps-button-add {
width: 100%;
padding: 12px 20px;
font-size: 1em;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.dps-quantity-controls {
display: flex;
align-items: center;
gap: var(--space-s);
padding: var(--space-xs);
}
.dps-quantity {
font-weight: bold;
min-width: 30px;
text-align: center;
color: var(--white);
}
.dps-button {
padding: 10px 20px;
border: none;
cursor: pointer;
font-size: 0.95em;
font-weight: 600;
transition: all 0.5s ease-in-out;
background: #f2f2f2;
color: var(--primary);
text-transform: uppercase;
letter-spacing: 0.5px;
}
.dps-button:hover {
background: #f5f5f5;
transform: translateY(-1px);
box-shadow: var(--box-shadow-1);
}
.dps-button-primary {
background: var(--accent);
}
.dps-button-primary:hover {
background: var(--accent-trans-80);
}
.dps-button-danger {
background: #dc3545;
}
.dps-button-danger:hover {
background: #c82333;
}
.dps-button-small {
padding: 5px 10px;
font-size: 0.9em;
}
.dps-button-large {
padding: 15px 30px;
font-size: 1.1em;
width: 100%;
}
.dps-button:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.dps-no-players {
text-align: center;
padding: 40px;
color: #6c757d;
}
.dps-order-form-container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 30px;
margin-top: 20px;
}
@media (max-width: 768px) {
.dps-order-form-container {
grid-template-columns: 1fr;
}
}
.dps-order-summary {
background: #f8f9fa;
padding: 20px;
border-radius: 8px;
height: fit-content;
}
.dps-order-summary h2 {
margin-top: 0;
color: #333;
}
.dps-order-summary ul {
list-style: none;
padding: 0;
margin: 15px 0;
}
.dps-order-summary li {
padding: 8px 0;
border-bottom: 1px solid #dee2e6;
}
.dps-order-form {
background: #fff;
padding: 20px;
border: 1px solid #ddd;
border-radius: 8px;
}
.dps-order-form h2 {
margin-top: 0;
color: #333;
}
.dps-form-group {
margin-bottom: 20px;
}
.dps-form-group label {
display: block;
margin-bottom: 5px;
font-weight: bold;
color: #333;
}
.dps-form-group input {
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 1em;
box-sizing: border-box;
}
.dps-form-group input.dps-input-error {
border-color: #dc3545;
}
.dps-error {
color: #dc3545;
font-size: 0.9em;
display: block;
margin-top: 5px;
}